about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-29 13:58:19 +0000
committerbors <bors@rust-lang.org>2020-07-29 13:58:19 +0000
commit584e83dd5ae7a75b8214560c22eafbcfe153caa6 (patch)
treeeb24aacddc69ffba99306c244094deaaee69aef6 /src/rustllvm/RustWrapper.cpp
parent06e7b93f6a2a3eeaf80fd6a9a3ef7b180bb5d778 (diff)
parent87abd656dabdb97758413b7f4be5bda9be71e26e (diff)
downloadrust-584e83dd5ae7a75b8214560c22eafbcfe153caa6.tar.gz
rust-584e83dd5ae7a75b8214560c22eafbcfe153caa6.zip
Auto merge of #72049 - mati865:mingw-lld, r=petrochenkov
MinGW: enable dllexport/dllimport

Fixes (only when using LLD) https://github.com/rust-lang/rust/issues/50176
Fixes https://github.com/rust-lang/rust/issues/72319

This makes `windows-gnu` on pair with `windows-msvc` when it comes to symbol exporting.
For MinGW it means both good things like correctly working dllimport/dllexport, ability to link with LLD and bad things like https://github.com/rust-lang/rust/issues/27438.

Not sure but maybe this should land behind unstable compiler option (`-Z`) or environment variable?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions