abuild.conf: set release profile optimisations for cargo
Signed-off-by: Jakub Panek <me@panekj.dev>
This commit is contained in:
parent
33ce0536ef
commit
fd6002b277
|
@ -11,6 +11,11 @@ export MAKEFLAGS=-j$JOBS
|
||||||
export SAMUFLAGS=-j$JOBS
|
export SAMUFLAGS=-j$JOBS
|
||||||
export CARGO_BUILD_JOBS=$JOBS
|
export CARGO_BUILD_JOBS=$JOBS
|
||||||
|
|
||||||
|
export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
|
||||||
|
export CARGO_PROFILE_RELEASE_PANIC="abort"
|
||||||
|
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
|
||||||
|
export CARGO_PROFILE_RELEASE_LTO="true"
|
||||||
|
|
||||||
# remove line below to disable colors
|
# remove line below to disable colors
|
||||||
USE_COLORS=1
|
USE_COLORS=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue