Skip to content

Commit f61c776

Browse files
committed
Add cargo config file containing target-cpu=native
1 parent a81a139 commit f61c776

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["--emit=asm", "-C", "target-cpu=native"]

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ members = [
77

88
[profile.release]
99
lto = true
10+
codegen-units = 1

0 commit comments

Comments
 (0)