Skip to content

Commit f529034

Browse files
committed
Use nightly rust and some nightly flags
1 parent 1b4ce5a commit f529034

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.cargo/config.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[unstable]
2+
build-std = ["std"]
3+
4+
[build]
5+
rustflags = [
6+
"-Clinker-plugin-lto",
7+
"-Clinker=clang",
8+
"-Clink-arg=-fuse-ld=lld",
9+
"-Zlinker-features=+lld",
10+
"-Zlocation-detail=none",
11+
]

rust-toolchain.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel = "nightly-2024-12-08"
3+
components = ["rust-src", "llvm-tools"]
4+
targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]

0 commit comments

Comments
 (0)