@@ -193,7 +193,7 @@ impl ShortintEngine {
193
193
) -> CompressedServerKey {
194
194
let bootstrapping_key = match cks. parameters . pbs_parameters ( ) . unwrap ( ) {
195
195
crate :: shortint:: PBSParameters :: PBS ( pbs_params) => {
196
- #[ cfg( not( feature = "__wasm_api " ) ) ]
196
+ #[ cfg( not( target_arch = "wasm32 " ) ) ]
197
197
let bootstrapping_key = par_allocate_and_generate_new_seeded_lwe_bootstrap_key (
198
198
& cks. small_lwe_secret_key ( ) ,
199
199
& cks. glwe_secret_key ,
@@ -204,7 +204,7 @@ impl ShortintEngine {
204
204
& mut self . seeder ,
205
205
) ;
206
206
207
- #[ cfg( feature = "__wasm_api " ) ]
207
+ #[ cfg( target_arch = "wasm32 " ) ]
208
208
let bootstrapping_key = allocate_and_generate_new_seeded_lwe_bootstrap_key (
209
209
& cks. small_lwe_secret_key ( ) ,
210
210
& cks. glwe_secret_key ,
@@ -218,7 +218,7 @@ impl ShortintEngine {
218
218
ShortintCompressedBootstrappingKey :: Classic ( bootstrapping_key)
219
219
}
220
220
crate :: shortint:: PBSParameters :: MultiBitPBS ( pbs_params) => {
221
- #[ cfg( not( feature = "__wasm_api " ) ) ]
221
+ #[ cfg( not( target_arch = "wasm32 " ) ) ]
222
222
let bootstrapping_key =
223
223
par_allocate_and_generate_new_seeded_lwe_multi_bit_bootstrap_key (
224
224
& cks. small_lwe_secret_key ( ) ,
@@ -231,7 +231,7 @@ impl ShortintEngine {
231
231
& mut self . seeder ,
232
232
) ;
233
233
234
- #[ cfg( feature = "__wasm_api " ) ]
234
+ #[ cfg( target_arch = "wasm32 " ) ]
235
235
let bootstrapping_key =
236
236
allocate_and_generate_new_seeded_lwe_multi_bit_bootstrap_key (
237
237
& cks. small_lwe_secret_key ( ) ,
0 commit comments