David Mo
4160337c85
Tests crash from inappropriate use of common linkage
...
Normally, variables with common linkage must be zero-initialized. In Rust,
common linkage variables that are not zero-initialized causes a crash in the
compiler backend.
This commit adds a test case to confirm this behavior, which will inform us if
it changes in the future.
2023-09-01 14:08:31 -07:00
Ben Kimock
4e21e9e039
Remove some unnecessary normalization
2023-07-05 19:52:28 -04:00
Rémy Rakic
38f5a9964b
comment, and bless, unstable linker flavor test
2023-06-30 21:13:24 +00:00
Rémy Rakic
4ff780be2f
bless test with new linker flavors
2023-06-30 21:13:24 +00:00
Vadim Petrochenkov
2f7328d970
Fix tests on non-unix targets
2023-05-29 19:58:11 +03:00
Vadim Petrochenkov
23f177d86d
rustc_session: Feature gate linker flavors for tier 3 targets
2023-05-29 19:58:11 +03:00
Vadim Petrochenkov
b0ce4164f0
linker: Report linker flavors incompatible with the current target
...
Previously they would be reported as link time errors about unknown linker options
2023-05-29 19:58:11 +03:00
yukang
d5558e67ef
The name of NativeLib will be presented
2023-03-19 11:23:19 +08:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00