-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
22 lines (20 loc) · 991 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
paths = ["./"] # path dependency overrides
[alias] # command aliases
b = "build"
c = "check"
t = "test"
r = "run"
rr = "run --release"
recursive_example = "rr --example recursions"
space_example = ["run", "--release", "--", "\"command list\""]
[build]
# target = "x86_64-unknown-linux-musl" # this was worse
rustflags = [
#"-C", "code-model=kernel",
"-C", "target-cpu=native", # Enable CPU-specific optimizations for your machine
#"-C", "target-feature=+adx,+aes,+avx,+avx2,+bmi1,+bmi2,+cmpxchg16b,+f16c,+fma,+fxsr,+lzcnt,+movbe,+pclmulqdq,+popcnt,+rdrand,+rdseed,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+xsave,+xsavec,+xsaveopt,+xsaves",
"-C", "llvm-args=--inline-threshold=25", # Adjust inlining behavior
"-C", "link-arg=-flto", # Additional linker optimization flags
#"-C", "llvm-args=-mem2reg",
"-C", "passes=inline function-attrs argpromotion simplifycfg dce adce sroa gvn early-cse sccp sink tailcallelim mem2reg",
]