Skip to content

Commit dd40eff

Browse files
[wasm-pic] Apply asyncify-relocatable to the wasmoptflags
1 parent 2e5858e commit dd40eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_wasm/packager/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def derive_build
136136
build.crossruby.cflags = %w[-fPIC -fvisibility=default]
137137
if @packager.full_build_options[:target] != "wasm32-unknown-emscripten"
138138
build.crossruby.debugflags = %w[-g]
139-
build.crossruby.wasmoptflags = %w[-O3 -g]
139+
build.crossruby.wasmoptflags = %w[-O3 -g --pass-arg=asyncify-relocatable]
140140
build.crossruby.ldflags = %w[
141141
-Xlinker
142142
--stack-first

0 commit comments

Comments
 (0)