7f5e3c8106
They slow down the build, so are not on by default.
16 lines
317 B
Bash
Executable File
16 lines
317 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ "$BUILD_ROOT" == "" ]; then
|
|
out=$(pwd)/out
|
|
else
|
|
out="$BUILD_ROOT"
|
|
fi
|
|
export CARGO_TARGET_DIR=$out/rust
|
|
export RECONFIGURE_KEY="${MAC_X86};${SOURCEMAP}"
|
|
|
|
# separate build+run steps so build env doesn't leak into subprocesses
|
|
cargo build -p runner
|
|
exec $out/rust/debug/runner build $*
|