-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
Compiling the hpack v0.2.0
crate withrustc 1.10.0-dev (8b1dcf40f 2016-04-29)
on ARM Linux:
error: internal compiler error: src/librustc_trans/mir/rvalue.rs:347: unsupported cast: fn(&(&[u8], &[u8])) -> (&[u8], &[u8]) to fn(&'static (&'static [u8], &'static [u8])) -> (&'static [u8], &'static [u8])
or curl
:
error: internal compiler error: src/librustc_trans/mir/rvalue.rs:347: unsupported cast: extern "C" fn(*mut u8, usize, usize, *mut http::body::Body<'_>) -> usize to extern "C" fn(*mut u8, usize, usize, *mut http::body::Body<'static>) -> usize
This was my first contact with mir and it wasn't peaceful :) Maybe I should have tried a Hello Mir
, erm World
instead...
Metadata
Metadata
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️