Uh oh!
There was an error while loading. Please reload this page.
Lang item - #32264
Merged
Merged
Conversation
rust-highfive
commented
Mar 15, 2016
Contributor
(rust_highfive has picked a reviewer for you, use r? to override) |
Member
There was a problem hiding this comment.
Why not just, uh, “definition of a unknown language item”?
GuillaumeGomez
commented
Mar 19, 2016
MemberAuthor
Updated. |
nikomatsakis
commented
Mar 21, 2016
Contributor
@bors r+ rollup |
bors
commented
Mar 21, 2016
Collaborator
📌 Commit b2fd882 has been approved by |
bors
commented
Mar 22, 2016
Collaborator
bors added a commit
that referenced
this pull request
Mar 22, 2016
bors
commented
Mar 22, 2016
Collaborator
hannobraun added a commit
to hannobraun/embedded
that referenced
this pull request
Mar 24, 2016
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#32033