statics are null on x86_64-unknown-linux-none #134763
Labels
C-bug
Category: This is a bug.
O-linux-none
Operating system: Linux, with the libcless linux-none target
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
when compiling for
x86_64-unknown-linux-none
, the static items in the following code snippet have null pointers as address. The inline versions work as expected. The exit code of the program is10
.Meta
rustc --version --verbose
:cargo config:
The text was updated successfully, but these errors were encountered: