File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,13 @@ fn gen_bindings() {
94
94
. layout_tests ( false )
95
95
. default_enum_style ( bindgen:: EnumVariation :: ModuleConsts )
96
96
. generate_comments ( false )
97
- . whitelist_function ( WHITELIST_REGEX_FUNCTION )
98
- . whitelist_type ( WHITELIST_REGEX_TYPE )
99
- . whitelist_var ( WHITELIST_REGEX_VAR )
97
+ . allowlist_function ( WHITELIST_REGEX_FUNCTION )
98
+ . allowlist_type ( WHITELIST_REGEX_TYPE )
99
+ . allowlist_var ( WHITELIST_REGEX_VAR )
100
100
. derive_debug ( false ) ;
101
101
bindgen = PRIMITIVES
102
102
. iter ( )
103
- . fold ( bindgen, |bindgen, ty| bindgen. blacklist_type ( ty) ) ;
103
+ . fold ( bindgen, |bindgen, ty| bindgen. blocklist_type ( ty) ) ;
104
104
bindgen
105
105
. clang_args (
106
106
[
@@ -113,7 +113,7 @@ fn gen_bindings() {
113
113
}
114
114
) ,
115
115
"-Dd_m3LogOutput=0" ,
116
- "-Iwasm3" ,
116
+ "-Iwasm3/source " ,
117
117
]
118
118
. iter ( ) ,
119
119
)
You can’t perform that action at this time.
0 commit comments