Skip to content

Commit 63426fe

Browse files
committed
Do not error on unsupported platform
1 parent 2e3f958 commit 63426fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def to_mib(bytes)
3939
end
4040

4141
unless File.exist?("#{__dir__}/vendor/#{ruby_platform}")
42-
log("[fatal] no vendor directory found for #{ruby_platform}, cannot use binaryen-rb on this platform yet")
43-
exit 1
42+
log("[warning] no vendor directory found for #{ruby_platform}, cannot use binaryen-rb on this platform yet")
43+
exit
4444
end
4545

4646
if enable_config("strip", true)

0 commit comments

Comments
 (0)