We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0144de commit aab4251Copy full SHA for aab4251
wasm_reactor/build-wasm.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
# TODO: Make sure this script is always run from wasm_reactor directory
3
-wasm32-wasi-cabal build exe:indigo-wasm-reactor --allow-newer='*' -f noffi
4
-INDIGO_WASM=$(realpath ./dist-newstyle/build/wasm32-wasi/ghc-*/indigo-wasm-reactor-*/x/indigo-wasm-reactor/build/indigo-wasm-reactor/indigo-wasm-reactor.wasm)
+wasm32-wasi-cabal build exe:indigo-wasm-reactor --allow-newer='base' -f noffi
+INDIGO_WASM=$(wasm32-wasi-cabal list-bin indigo-wasm-reactor --allow-newer=base | tail -n 1)
5
wizer --allow-wasi --wasm-bulk-memory true "$INDIGO_WASM" -o indigo-init.wasm
6
cp -f indigo-init.wasm ../../indigo-fiddle
7
cp -rf ../share ../../indigo-fiddle/indigo-lib
0 commit comments