Switch runner to release build

This commit is contained in:
Damien Elmes 2023-07-02 10:31:07 +10:00
parent ab95b14c2e
commit d1a4aa352a
2 changed files with 2 additions and 5 deletions

View File

@ -146,9 +146,6 @@ debug = 0
opt-level = 1
debug = 0
[profile.dev.package.runner]
opt-level = 1
# Debug info off by default, which speeds up incremental builds and produces a considerably
# smaller library.
[profile.dev.package.anki]

4
ninja
View File

@ -13,6 +13,6 @@ export RECONFIGURE_KEY="${MAC_X86};${SOURCEMAP}"
if [ "$SKIP_RUNNER_BUILD" = "1" ]; then
echo "Runner not rebuilt."
else
cargo build -p runner;
cargo build -p runner --release
fi
exec $out/rust/debug/runner build -- $*
exec $out/rust/release/runner build -- $*