We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afccbef commit 3ed0131Copy full SHA for 3ed0131
1 file changed
lib/ruby_wasm/packager/core.rb
@@ -125,7 +125,7 @@ def link_exts(executor, build)
125
linker = RubyWasmExt::ComponentLink.new
126
linker.use_built_in_libdl(true)
127
linker.stub_missing_functions(false)
128
- linker.validate(true)
+ linker.validate(ENV["RUBYWASM_SKIP_LINKER_VALIDATION"] != "1")
129
130
libraries.each do |lib|
131
# Non-DL openable libraries should be referenced as base name
@@ -305,7 +305,7 @@ def build_and_link_exts(executor, module_bytes)
305
return module_bytes unless @packager.features.support_component_model?
306
307
linker = RubyWasmExt::ComponentEncode.new
308
309
linker.module(module_bytes)
310
linker.adapter(
311
"wasi_snapshot_preview1",
0 commit comments