]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #7637 : pnkfelix/rust/fsk-guard-against-stale-libraries-issue3225-safeg...
authorbors <bors@rust-lang.org>
Wed, 10 Jul 2013 08:10:29 +0000 (01:10 -0700)
committerbors <bors@rust-lang.org>
Wed, 10 Jul 2013 08:10:29 +0000 (01:10 -0700)
When building Rust libraries (e.g. librustc, libstd, etc), checks for
and verbosely removes previous build products before invoking rustc.
(Also, when Make variable VERBOSE is defined, it will list all of the
libraries matching the object library's glob after the rustc
invocation has completed.)

When installing Rust libraries, checks for previous libraries in
target install directory, but does not remove them.

The thinking behind these two different modes of operation is that the
installation target, unlike the build tree, is not under the control
of this infrastructure and it is not up to this Makefile to decide if
the previous libraries should be removed.

Fixes #3225 (at least in terms of mitigating the multiple library
problem by proactively warning the user about it.)

1  2 
Makefile.in

diff --cc Makefile.in
Simple merge