diff --git a/abuild.conf b/abuild.conf index 745a119..ff9103f 100644 --- a/abuild.conf +++ b/abuild.conf @@ -11,6 +11,11 @@ export MAKEFLAGS=-j$JOBS export SAMUFLAGS=-j$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 USE_COLORS=1