mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Switch runner to release build
This commit is contained in:
parent
ab95b14c2e
commit
d1a4aa352a
2 changed files with 2 additions and 5 deletions
|
@ -146,9 +146,6 @@ debug = 0
|
||||||
opt-level = 1
|
opt-level = 1
|
||||||
debug = 0
|
debug = 0
|
||||||
|
|
||||||
[profile.dev.package.runner]
|
|
||||||
opt-level = 1
|
|
||||||
|
|
||||||
# Debug info off by default, which speeds up incremental builds and produces a considerably
|
# Debug info off by default, which speeds up incremental builds and produces a considerably
|
||||||
# smaller library.
|
# smaller library.
|
||||||
[profile.dev.package.anki]
|
[profile.dev.package.anki]
|
||||||
|
|
4
ninja
4
ninja
|
@ -13,6 +13,6 @@ export RECONFIGURE_KEY="${MAC_X86};${SOURCEMAP}"
|
||||||
if [ "$SKIP_RUNNER_BUILD" = "1" ]; then
|
if [ "$SKIP_RUNNER_BUILD" = "1" ]; then
|
||||||
echo "Runner not rebuilt."
|
echo "Runner not rebuilt."
|
||||||
else
|
else
|
||||||
cargo build -p runner;
|
cargo build -p runner --release
|
||||||
fi
|
fi
|
||||||
exec $out/rust/debug/runner build -- $*
|
exec $out/rust/release/runner build -- $*
|
||||||
|
|
Loading…
Reference in a new issue