Skip to content

Commit

Permalink
toolchain: update to latest nightly
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rmsyn committed May 16, 2023
1 parent 6465763 commit 7aac55e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ features = ["arduino-leonardo"]
[profile.dev]
opt-level = "s"
lto = true
codegen-units = 1

[profile.release]
opt-level = "s"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2023-03-24"
channel = "nightly-2023-05-15"

0 comments on commit 7aac55e

Please sign in to comment.