about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-01 14:25:55 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-01 14:25:55 -0800
commit0187ea61a66be23741830c8bc3c2262556e1dd56 (patch)
tree7e8dda19ecbcd8196b7987d6f2a6b6542b5b3508
parent76ce1ea42158b5be3f3896df708602918d202947 (diff)
downloadrust-0187ea61a66be23741830c8bc3c2262556e1dd56.tar.gz
rust-0187ea61a66be23741830c8bc3c2262556e1dd56.zip
rustc: Change an unconditional `warn` to a `note`
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 93a2b6eaa4f..590632d7140 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");