Skip to content

Commit 1576fd0

Browse files
Use compiled API as fallback for rb-sys
1 parent d3f126c commit 1576fd0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/ruby_wasm/extconf.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
require "mkmf"
44
require "rb_sys/mkmf"
55

6-
create_rust_makefile("ruby_wasm/ruby_wasm")
6+
create_rust_makefile("ruby_wasm/ruby_wasm") do |r|
7+
# We require head Ruby, so we need to fallback to compiled API
8+
r.use_stable_api_compiled_fallback = true
9+
end

0 commit comments

Comments
 (0)