We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be214a5 commit 7d338c2Copy full SHA for 7d338c2
tasks/check.rake
@@ -8,13 +8,13 @@ namespace :check do
8
]
9
wits.each do |wit|
10
path, mode = wit
11
- sh "#{wit_bindgen.bin_path} c #{mode} #{path} --out-dir #{File.dirname(path)}"
+ sh "#{wit_bindgen.bin_path} guest c #{mode} #{path} --out-dir #{File.dirname(path)}"
12
end
13
14
15
task :bindgen_js => wit_bindgen.install_task do
16
sh *[
17
- wit_bindgen.bin_path, "js",
+ wit_bindgen.bin_path, "host", "js",
18
"--import", "ext/witapi/bindgen/rb-abi-guest.wit",
19
"--export", "ext/js/bindgen/rb-js-abi-host.wit",
20
"--out-dir", "packages/npm-packages/ruby-wasm-wasi/src/bindgen",
0 commit comments