You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to reproduce this bit of C code into Rust, but I'm getting hit by a compiler panic.
The context is that I want the rust code to put a pointer to some static data in a custom section, that will be read by a C codebase in the final executable.
IRC user scott reduced the sample code needed to trigger the panic:
I'm trying to reproduce this bit of C code into Rust, but I'm getting hit by a compiler panic.
The context is that I want the rust code to put a pointer to some static data in a custom section, that will be read by a C codebase in the final executable.
IRC user
scott
reduced the sample code needed to trigger the panic:Compiling this with
RUST_BACKTRACE=1 rustc panic.rs
produces the following output:version info
The text was updated successfully, but these errors were encountered: