diff options
Diffstat (limited to '')
-rwxr-xr-x | third_party/rust/target-lexicon-0.9.0/test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/target-lexicon-0.9.0/test.sh b/third_party/rust/target-lexicon-0.9.0/test.sh new file mode 100755 index 0000000000..dcff63a4e2 --- /dev/null +++ b/third_party/rust/target-lexicon-0.9.0/test.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -oeu pipefail + + +for trip in wasm32-unknown-unknown wasm32-wasi arm-unknown-linux-gnueabi aarch64-unknown-linux-gnu; do + echo TARGET $trip + cargo build --target $trip --all + cp target/$trip/debug/build/target-lexicon-*/out/host.rs host.rs + rustfmt host.rs + diff -u target/$trip/debug/build/target-lexicon-*/out/host.rs host.rs +done |