Skip to content

Commit

Permalink
Set some flags for build scripts
Browse files Browse the repository at this point in the history
So we fail the script if one of the test doesn't compile
  • Loading branch information
loganek committed Jan 3, 2023
1 parent 31416ae commit d5ef781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/c/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -ueo pipefail

CC=${CC:=clang}

Expand Down
1 change: 1 addition & 0 deletions tests/rust/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -ueo pipefail

cargo build --target=wasm32-wasi

Expand Down

0 comments on commit d5ef781

Please sign in to comment.