Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Commit d605de6

Browse files
committed
Update Rust
The Rust version is now at: ``` rustc 1.9.0-nightly (0dcc413e4 2016-03-22) ``` This includes a fix for the following build error that the new version produced: ``` src/rust_base.rs:17:1: 19:2 error: definition of an unknown language item: `stack_exhausted`. [E0522] src/rust_base.rs:17 pub extern fn stack_exhausted() { src/rust_base.rs:18 panic!("Stack exhausted"); src/rust_base.rs:19 } src/rust_base.rs:17:1: 19:2 help: run `rustc --explain E0522` to see a detailed explanation ``` It looks like the `stack_exhausted item was removed last year: rust-lang/rust#27338 This didn't cause an error so far, because the compiler didn't complain about defining lang items that don't exist. This seems to have changed in this pull request: rust-lang/rust#32264
1 parent 95c9b67 commit d605de6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

blink/src/rust_base.rs

-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ pub extern fn panic_fmt() {
1313
loop {}
1414
}
1515

16-
#[lang = "stack_exhausted"]
17-
pub extern fn stack_exhausted() {
18-
panic!("Stack exhausted");
19-
}
20-
2116
#[lang = "eh_personality"]
2217
pub extern fn eh_personality() {
2318
panic!("eh_personality function has been called")

vendor/rust

Submodule rust updated 854 files

0 commit comments

Comments
 (0)