about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-08 22:45:19 +0000
committerbors <bors@rust-lang.org>2015-07-08 22:45:19 +0000
commit9f26f14dc9b1e152a79e0999556f09f4ca952658 (patch)
treeba62469a07dbd2a31ac9e035d75d9663fde71c4d /src/rustllvm/RustWrapper.cpp
parent020d201a661746359430610ee811b0aaa242dea8 (diff)
parent9bc8e6d1472a57441afe3592078838d2bc767996 (diff)
downloadrust-9f26f14dc9b1e152a79e0999556f09f4ca952658.tar.gz
rust-9f26f14dc9b1e152a79e0999556f09f4ca952658.zip
Auto merge of #26869 - alexcrichton:fix-msvc-sepcomp, r=nrc
This commit alters the implementation of multiple codegen units slightly to be
compatible with the MSVC linker. Currently the implementation will take the N
object files created by each codegen unit and will run `ld -r` to create a new
object file which is then passed along. The MSVC linker, however, is not able to
do this operation.

The compiler will now no longer attempt to assemble object files together but
will instead just pass through all the object files as usual. This implies that
rlibs may not contain more than one object file (if the library is compiled with
more than one codegen unit) and the output of `-C save-temps` will have changed
slightly as object files with the extension `0.o` will not be renamed to `o`
unless requested otherwise.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions