Update release-max-perf rustflags.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-05-13 20:11:34 +00:00
parent 020a7d318f
commit 56df738a5a
2 changed files with 24 additions and 6 deletions

View File

@@ -128,6 +128,30 @@ nightly_rustflags = [
"-Zenforce-type-length-limit",
]
rmp_rustflags = [
"-Ctarget-cpu=native",
"-Ztune-cpu=native",
"-Ctarget-feature=+crt-static",
"-Crelocation-model=static",
"-Ztls-model=local-exec",
"-Zinline-mir=true",
"-Zmir-opt-level=3",
"-Clink-arg=-Wl,--gc-sections",
#"-Ztime-passes",
#"-Ztime-llvm-passes",
]
rmp_bo_rustflags = [
"-Crelocation-model=pic",
"-Ctarget-feature=-crt-static",
"-Clink-arg=-Wl,--no-gc-sections",
]
rmp_macro_rustflags = [
"-Crelocation-model=pic",
"-Ctarget-feature=-crt-static",
]
#
# Default
#