File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
cli/src/bin/wasm-bindgen-test-runner Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 41
41
test_wasm_bindgen :
42
42
name : " Run wasm-bindgen crate tests (unix)"
43
43
runs-on : ubuntu-latest
44
+ env :
45
+ WASM_BINDGEN_SPLIT_LINKED_MODULES : 1
44
46
steps :
45
47
- uses : actions/checkout@v2
46
48
- run : rustup update --no-self-update stable && rustup default stable
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl Bindgen {
121
121
wasm_interface_types,
122
122
encode_into : EncodeInto :: Test ,
123
123
omit_default_module_path : true ,
124
- split_linked_modules : true ,
124
+ split_linked_modules : false ,
125
125
}
126
126
}
127
127
Original file line number Diff line number Diff line change @@ -167,6 +167,10 @@ integration test.\
167
167
TestMode :: NoModule => b. no_modules ( true ) ?,
168
168
} ;
169
169
170
+ if std:: env:: var ( "WASM_BINDGEN_SPLIT_LINKED_MODULES" ) . is_ok ( ) {
171
+ b. split_linked_modules ( true ) ;
172
+ }
173
+
170
174
b. debug ( debug)
171
175
. input_module ( module, wasm)
172
176
. keep_debug ( false )
You can’t perform that action at this time.
0 commit comments