blob: dcff63a4e20f3fb2bd4f58b11c88ff7a91a4dc99 (
plain)
1
2
3
4
5
6
7
8
9
10
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
|