diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-06-25 00:33:52 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-06-25 09:33:15 -0700 |
| commit | 9e3cb6447596049464292c0afa8c4b9a0cb8c806 (patch) | |
| tree | 013e1bf2aea3b944ab3d097c61fe5af35ef81714 /src/rustllvm/RustWrapper.cpp | |
| parent | 91d799eab0d7f6784fb4366182b5007cf055519d (diff) | |
| download | rust-9e3cb6447596049464292c0afa8c4b9a0cb8c806.tar.gz rust-9e3cb6447596049464292c0afa8c4b9a0cb8c806.zip | |
rustc_trans: Handle empty dlls on MSVC
If a dylib doesn't actually export any symbols then link.exe won't emit a `foo.lib` file to link against (as one isn't necessary). Detect this case in the backend by omitting the `foo.lib` argument to the linker if it doesn't actually exist.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
