]> git.lizzy.rs Git - rust.git/commit
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)
commit8a7b636649db7601bbef90c525eea2a457ba3a8c
treedb2ed719f8e59cb89c89839f5054365665696a59
parentb5e9194836cab666163cf97cfbea6a323edad882
parentace49442a6aef323d42700da169ac3de32d64c2d
auto merge of #7637 : pnkfelix/rust/fsk-guard-against-stale-libraries-issue3225-safeguarded, r=graydon

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.)
Makefile.in