This code crashes in LLVM during codegen on stable, beta, and nightly:
#[no_mangle]
fn whatever() {
extern "Rust" {
fn main();
}
unsafe { main(); }
}
This originally happened in real-world code (a code base derived from cortex-m-rt).
This issue has been assigned to @jumbatm via this comment.
This code crashes in LLVM during codegen on stable, beta, and nightly:
This originally happened in real-world code (a code base derived from cortex-m-rt).
This issue has been assigned to @jumbatm via this comment.