Skip to content

Commit

Permalink
Update toolchain, get rid of the std-features hack
Browse files Browse the repository at this point in the history
The `compiler-builtins-mangled-names` thingie¹ is no longer needed,
since `compiler_builtins` has been improved to avoid pulling the
problematic functions:

- rust-lang/compiler-builtins#462
- rust-lang/compiler-builtins#466
- rust-lang/rust#97435

¹ rust-lang/rust#82242

Suggested-by: @Patryk27
Link: Rahix/avr-hal-template#8
  • Loading branch information
Rahix committed Jun 16, 2022
1 parent e141839 commit 497442d
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion examples/arduino-diecimila/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude diecimila"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/arduino-leonardo/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude leonardo"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/arduino-mega2560/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude -cb 57600 mega2560"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/arduino-nano/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude nano -cb 57600"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/arduino-uno/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude uno -cb 57600"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/nano168/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude nano168 -cb 57600"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/sparkfun-promicro/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude promicro"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/trinket-pro/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude trinket-pro"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
1 change: 0 additions & 1 deletion examples/trinket/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ runner = "ravedude trinket"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mangled-names"]
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2022-05-10"
channel = "nightly-2022-06-13"
components = [ "rust-src" ]
profile = "minimal"

0 comments on commit 497442d

Please sign in to comment.