mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
8fa800db61
Chrome links .rlibs with /WHOLEARCHIVE or -Wl,--whole-archive to prevent the linker from discarding static initializers. This works well, except on Windows x86, where lld complains: error: /safeseh: lib.rmeta is not compatible with SEH The fix is simply to mark the .rmeta as SAFESEH aware. This is trivially true, since the metadata file does not contain any executable code. |
||
---|---|---|
.. | ||
bar.rs | ||
baz.rs | ||
foo.rs | ||
Makefile |