Update release-max-perf rustflags.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -681,15 +681,9 @@ lto = "fat"
|
||||
# '-Ctarget-feature=+crt-static',
|
||||
# '-Crelocation-model=static',
|
||||
# '-Ztls-model=local-exec',
|
||||
# '-Zinline-in-all-cgus=true',
|
||||
# '-Zinline-mir=true',
|
||||
# '-Zmir-opt-level=3',
|
||||
# '-Clink-arg=-fuse-ld=gold',
|
||||
# '-Clink-arg=-Wl,--threads',
|
||||
# '-Clink-arg=-Wl,--gc-sections',
|
||||
# '-Clink-arg=-luring',
|
||||
# '-Clink-arg=-lstdc++',
|
||||
# '-Clink-arg=-lc',
|
||||
# '-Ztime-passes',
|
||||
# '-Ztime-llvm-passes',
|
||||
#]
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user