Closed
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...