-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE when playing with no_std -- requires sized
lang_item
#17392
Comments
cc @nick29581 |
+1 getting same ICE with #![crate_name = "prog"]
#![no_std]
#[start]
fn main(argc: int, argv: *const *const u8) -> int {
0
} |
I have a fix for this (coming up, changes the ICE to an error), but note that the code is still incorrect. You do need a
|
bors
added a commit
that referenced
this issue
Sep 29, 2014
closes #17392 r? @nikomatsakis Kind of a first draft because I'm not sure if this is the right approach. I believe the general idea of giving an error rather than an ICE in obligation_for_builtin_bound is right, but not sure about returning an Option, etc. Also, could probably have a better error message.
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jun 23, 2024
Change 'Length' to 'Len' This is a fix for rust-lang#17242
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error message is clear enough, but it seems like this shouldn't be an ICE
Built with rustc 0.12.0-pre (af3889f 2014-09-18 21:20:38 +0000)
The text was updated successfully, but these errors were encountered: