rollup merge of #21849: alexcrichton/warn2note

There [have been reports][issue] of an unconditional warning causing tooling to
go awry. This isn't actually a warning per se, it's more of a note anyway!

[issue]: https://github.com/rust-lang/cargo/issues/1260

Closes rust-lang/cargo#1260
This commit is contained in:
Alex Crichton 2015-02-02 11:01:19 -08:00
commit 02c149deb9
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ fn link_staticlib(sess: &Session, obj_filename: &Path, out_filename: &Path) {
let _ = ab.build();
if !all_native_libs.is_empty() {
sess.warn("link against the following native artifacts when linking against \
sess.note("link against the following native artifacts when linking against \
this static library");
sess.note("the order and any duplication can be significant on some platforms, \
and so may need to be preserved");