Lines Matching +full:build +full:- +full:in +full:- +full:qemu
2 set -e
7 # you may not use this file except in compliance with the License.
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
18 if [[ "$1" == "mips-unknown-linux-gnu" ]]; then
19 TARGET_FLAG="--target mips-unknown-linux-gnu"
20 export CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc
21 export CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu"
35 cargo run $TARGET_FLAG -- --quiet
40 rustup component add rust-src --toolchain nightly
41 rustup target add thumbv7m-none-eabi
42 cargo +nightly build
46 cargo test $TARGET_FLAG -- --quiet
49 cargo test $TARGET_FLAG --no-default-features -- --quiet
52 cargo run $TARGET_FLAG --bin=flatbuffers_alloc_check
55 cargo run $TARGET_FLAG --bin=flexbuffers_alloc_check
65 if [[ -f ../../flatc ]]; then
68 check_test_result "Rust generated file in \$OUT_DIR"
72 # RUST_NIGHTLY environment variable set in dockerfile.
75 MIRIFLAGS="-Zmiri-disable-isolation" cargo +nightly miri test