[go: up one dir, main page]

target-lexicon 0.9.0

Targeting utilities for compilers and related tools
Documentation
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