Skip to content

Commit 7aac55e

Browse files
committed
toolchain: update to latest nightly
Nightly builds compile with the current version release (2023-05-15). Adding `codegen-units = 1` fixes compilation errors for debug builds. See: rust-lang/compiler-builtins#523 (comment)
1 parent 6465763 commit 7aac55e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ features = ["arduino-leonardo"]
1818
[profile.dev]
1919
opt-level = "s"
2020
lto = true
21+
codegen-units = 1
2122

2223
[profile.release]
2324
opt-level = "s"

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2023-03-24"
2+
channel = "nightly-2023-05-15"

0 commit comments

Comments
 (0)