]> git.lizzy.rs Git - rust.git/commit
rustc: codegen: Build import library for all windows targets
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 27 May 2019 13:51:44 +0000 (15:51 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 25 Jul 2019 19:30:08 +0000 (21:30 +0200)
commit5af318bd563345c0205dfd1060e90c0368054dc6
tree585494d6139a78031f0fa59b7ffcdaa0bd858a5e
parenteedf6ce4ef54bb03818ab21d714f1b9f13a6b31c
rustc: codegen: Build import library for all windows targets

So far it is assumed that using a DLL as a -l parameter argument is ok,
but the assumption doesn't hold when compiling the native code with
llvm.
In which case, an import library is required, so let's build one
This also requires the cargo counterpart to add the import library in
the stamp files, at least when compiling libstd. Otherwise, the files
don't get uplifted
src/bootstrap/compile.rs
src/librustc_codegen_ssa/back/linker.rs
src/test/run-make-fulldeps/output-type-permutations/Makefile