support for global C initializers #1171
Labels
A-interpreter
Area: affects the core interpreter
A-shims
Area: This affects the external function shims
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
Hi,
I'm not sure if rust even officially supports this (maybe should open an unsafe-guideline discussion?)
but basically you can initialize arrays by linking into the right place in elf/exe etc but miri doesn't run this
https://play.rust-lang.org/?gist=04058d55590a58168f916a0e273add42
FWIW c2rust uses this to initialize global statics.
The text was updated successfully, but these errors were encountered: