File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 (target runtime.wasm)
88 (deps args (glob_files *.wat))
99 (action
10- (pipe-stdout
11- (run wasm-merge -g --enable-gc --enable-exception-handling --enable-reference-types --enable-tail-call --enable-strings --enable-multivalue --enable-bulk-memory %{read-lines:args} -o -)
12- (run wasm-opt -g --enable-gc --enable-exception-handling --enable-reference-types --enable-tail-call --enable-strings --enable-multivalue --enable-bulk-memory - -O3 -o %{target}))))
10+ (progn
11+ (system "which wasm-merge > /dev/null || (echo 'Error: Binaryen tools not found in the PATH'; false)")
12+ (system "wasm-merge --version | grep -q 'version 116' || (echo 'Error: Binaryen version 116 is currently required'; false)")
13+ (pipe-stdout
14+ (run wasm-merge -g --enable-gc --enable-exception-handling --enable-reference-types --enable-tail-call --enable-strings --enable-multivalue --enable-bulk-memory %{read-lines:args} -o -)
15+ (run wasm-opt -g --enable-gc --enable-exception-handling --enable-reference-types --enable-tail-call --enable-strings --enable-multivalue --enable-bulk-memory - -O3 -o %{target})))))
1316
1417(rule (target args)
1518 (deps args.ml (glob_files *.wat))
You can’t perform that action at this time.
0 commit comments