Skip to content

Commit 7d338c2

Browse files
Update wit-bindgen args for the latest version
1 parent be214a5 commit 7d338c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/check.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ namespace :check do
88
]
99
wits.each do |wit|
1010
path, mode = wit
11-
sh "#{wit_bindgen.bin_path} c #{mode} #{path} --out-dir #{File.dirname(path)}"
11+
sh "#{wit_bindgen.bin_path} guest c #{mode} #{path} --out-dir #{File.dirname(path)}"
1212
end
1313
end
1414

1515
task :bindgen_js => wit_bindgen.install_task do
1616
sh *[
17-
wit_bindgen.bin_path, "js",
17+
wit_bindgen.bin_path, "host", "js",
1818
"--import", "ext/witapi/bindgen/rb-abi-guest.wit",
1919
"--export", "ext/js/bindgen/rb-js-abi-host.wit",
2020
"--out-dir", "packages/npm-packages/ruby-wasm-wasi/src/bindgen",

0 commit comments

Comments
 (0)