Merged
Conversation
Contributor
|
(rust_highfive has picked a reviewer for you, use r? to override) |
src/librustc/middle/lang_items.rs
Outdated
Member
There was a problem hiding this comment.
Why not just, uh, “definition of a unknown language item”?
Member
Author
There was a problem hiding this comment.
Indeed, way better.
d1e79fc to
df3baed
Compare
src/librustc/diagnostics.rs
Outdated
Contributor
There was a problem hiding this comment.
Nit: s/handker/handler/
df3baed to
b2fd882
Compare
Member
Author
|
Updated. |
Contributor
|
@bors r+ rollup |
Collaborator
|
📌 Commit b2fd882 has been approved by |
Collaborator
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 free
to 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