File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def link_exts(executor, build)
125
125
linker = RubyWasmExt ::ComponentLink . new
126
126
linker . use_built_in_libdl ( true )
127
127
linker . stub_missing_functions ( false )
128
- linker . validate ( true )
128
+ linker . validate ( ENV [ "RUBYWASM_SKIP_LINKER_VALIDATION" ] != "1" )
129
129
130
130
libraries . each do |lib |
131
131
# Non-DL openable libraries should be referenced as base name
@@ -305,7 +305,7 @@ def build_and_link_exts(executor, module_bytes)
305
305
return module_bytes unless @packager . features . support_component_model?
306
306
307
307
linker = RubyWasmExt ::ComponentEncode . new
308
- linker . validate ( true )
308
+ linker . validate ( ENV [ "RUBYWASM_SKIP_LINKER_VALIDATION" ] != "1" )
309
309
linker . module ( module_bytes )
310
310
linker . adapter (
311
311
"wasi_snapshot_preview1" ,
You can’t perform that action at this time.
0 commit comments