about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2023-05-17 22:52:54 +0200
committerAmanieu d'Antras <amanieu@gmail.com>2023-05-17 22:52:54 +0200
commitc2f0313d9493ca1e899a45fddc2349d1167116e4 (patch)
treeece3419265d83391344262dcef52b2f3f94f8508 /compiler/rustc_codegen_llvm/src
parentc2ccc855e74aec03e434405eca3c247ee2432e53 (diff)
downloadrust-c2f0313d9493ca1e899a45fddc2349d1167116e4.tar.gz
rust-c2f0313d9493ca1e899a45fddc2349d1167116e4.zip
Don't assume that `-Bdynamic` is the default linker mode
In particular this is false when passing `-static` or `-static-pie` to
the linker, which changes the default to `-Bstatic`. This PR ensures we
explicitly initialize the correct mode when we first need it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions