Skip to content

Commit f966a18

Browse files
committed
Put the Wasm output in the expected location without the extension
1 parent 8a833b1 commit f966a18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler/base/cargo-wasm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ for wasm in $(find target/ -name '*wasm' -not -path '*/deps/*'); do
4141
# wasm2wat spits out an error that we don't care about, so hide it
4242
# https://github.com/WebAssembly/wabt/issues/842
4343
# https://stackoverflow.com/a/15936384/155423
44+
45+
# The streaming playground expects the file to be without the
46+
# extension while the original playground expects it to be with
47+
# the extension. Support both for now.
48+
cp "${output}.wat" "${output}"
4449
done

0 commit comments

Comments
 (0)