about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/base/windows_gnu.rs
AgeCommit message (Collapse)AuthorLines
2025-09-19Stop linking rs{begin,end} on x86_64-*-windows-gnuMateusz Mikuła-3/+0
Until now, x86_64-pc-windows-gnu linked `rsbegin.o` and `rsend.o` just like i686-pc-windows-gnu, even though they were no-ops for it. This was likely done for the simplicity back when it was introduced. Today the things are different and these startup/end objects harm other features, like `build-std`. Given the demotion of i686-pc-windows-gnu from tier 1, there is no point in hurting x86_64-pc-windows-gnu, which remains a tier 1. The files are still shipped in case downstream crates expect them, as in case of the unmaintained `xargo`.
2025-02-17Adds binary_format to rustc target specsPyrode-2/+3
2025-02-08Rustfmtbjorn3-13/+20
2025-01-20Set `DebuginfoKind::Dwarf` for `*-windows-gnu` and `*-windows-gnullvm`Wesley Wiser-1/+1
These targets have always generated DWARF debuginfo and not CodeView/PDB debuginfo like the MSVC Windows targets. Correct their target definitions to reflect this. The newly added tests for the various combinations of `*-windows-gnu*` targets and `-Csplit-debuginfo` show that this does not change any stable behavior.
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-22/+15
2024-09-03Add `warn(unreachable_pub)` to `rustc_target`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-04-21Add `-lmingwex` second time in `mingw_libs`Mateusz Mikuła-0/+3
Upcoming mingw-w64 releases will contain small math functions refactor which moved implementation around. As a result functions like `lgamma` now depend on libraries in this order: `libmingwex.a` -> `libmsvcrt.a` -> `libmingwex.a`. Fixes #124221
2023-11-08target: move base specs to spec/baseDavid Wood-0/+108
Signed-off-by: David Wood <david@davidtw.co>