@@ -797,15 +797,15 @@ impl NapiStruct {
797797 quote ! {
798798 #[ allow( non_snake_case) ]
799799 #[ allow( clippy:: all) ]
800- #[ cfg( all( not( test) , not( feature = "noop" ) , not ( target_family = "wasm" ) ) ) ]
800+ #[ cfg( all( not( test) , not( target_family = "wasm" ) ) ) ]
801801 #[ napi:: bindgen_prelude:: ctor]
802802 fn #struct_register_name( ) {
803803 napi:: __private:: register_class( #name_str, #js_mod_ident, #js_name, vec![ #( #props) , * ] ) ;
804804 }
805805
806806 #[ allow( non_snake_case) ]
807807 #[ allow( clippy:: all) ]
808- #[ cfg( all( not( test) , not ( feature = "noop" ) , target_family = "wasm" ) ) ]
808+ #[ cfg( all( not( test) , target_family = "wasm" ) ) ]
809809 #[ no_mangle]
810810 extern "C" fn #struct_register_name( ) {
811811 napi:: __private:: register_class( #name_str, #js_mod_ident, #js_name, vec![ #( #props) , * ] ) ;
@@ -917,13 +917,13 @@ impl NapiImpl {
917917 use super :: * ;
918918 #( #methods) *
919919
920- #[ cfg( all( not( test) , not( feature = "noop" ) , not ( target_family = "wasm" ) ) ) ]
920+ #[ cfg( all( not( test) , not( target_family = "wasm" ) ) ) ]
921921 #[ napi:: bindgen_prelude:: ctor]
922922 fn #register_name( ) {
923923 napi:: __private:: register_class( #name_str, #js_mod_ident, #js_name, vec![ #( #props) , * ] ) ;
924924 }
925925
926- #[ cfg( all( not( test) , not ( feature = "noop" ) , target_family = "wasm" ) ) ]
926+ #[ cfg( all( not( test) , target_family = "wasm" ) ) ]
927927 #[ no_mangle]
928928 extern "C" fn #register_name( ) {
929929 napi:: __private:: register_class( #name_str, #js_mod_ident, #js_name, vec![ #( #props_wasm) , * ] ) ;
0 commit comments