about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-02 11:01:19 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-02 11:01:19 -0800
commit02c149deb955588b31de0ba4cd3136a04e20fd1e (patch)
treecd91c912fb59dc012a5d9e07d39dd43c8e8251e5
parentb9e27433fad8fc0a67f0226a9cbc1708e5b9b4e5 (diff)
parent0187ea61a66be23741830c8bc3c2262556e1dd56 (diff)
downloadrust-02c149deb955588b31de0ba4cd3136a04e20fd1e.tar.gz
rust-02c149deb955588b31de0ba4cd3136a04e20fd1e.zip
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
-rw-r--r--src/librustc_trans/back/link.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/back/link.rs b/src/librustc_trans/back/link.rs
index c94ec112ac2..be55ab9fda3 100644
--- a/src/librustc_trans/back/link.rs
+++ b/src/librustc_trans/back/link.rs
@@ -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");