about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-31 14:30:43 +0100
committerGitHub <noreply@github.com>2024-12-31 14:30:43 +0100
commitd08d13252483d76b6a9d54459659cfca84cbdfe3 (patch)
tree04cc5835e9bac6302959ad8449d222796da8510c /compiler/rustc_llvm/llvm-wrapper
parent3e888820bdd4110aafc919d4e0ce766279f2feb9 (diff)
parentdc1f2be449d5452f2f89855b7476b716bed7f671 (diff)
downloadrust-d08d13252483d76b6a9d54459659cfca84cbdfe3.tar.gz
rust-d08d13252483d76b6a9d54459659cfca84cbdfe3.zip
Rollup merge of #134918 - ChrisDenton:issue-70093, r=jieyouxu
Windows: Enable issue 70093 link tests

Tracking issue for `-Z link-native-libraries`: #134948
Tracking issue for `-Z link-directives`: #134947

`-Zlink-native-libraries=no` and `-Zlink-directives=no` *should* work on Windows, at least for msvc. The fly in ointment is that `default-linker-libraries` doesn't. On unixy platforms rustc calls another compiler which in turn calls the linker along with the default libraries. On MSVC rustc calls the linker directly therefore it would need to be the one to implement `default-linker-libraries`. Except it doesn't so we workaround that in the test by using `-C link-arg` to talk to the linker.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions