Skip to content

Commit 0187ea6

Browse files
committed
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]: rust-lang/cargo#1260 Closes rust-lang/cargo#1260
1 parent 76ce1ea commit 0187ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ fn link_staticlib(sess: &Session, obj_filename: &Path, out_filename: &Path) {
740740
let _ = ab.build();
741741

742742
if !all_native_libs.is_empty() {
743-
sess.warn("link against the following native artifacts when linking against \
743+
sess.note("link against the following native artifacts when linking against \
744744
this static library");
745745
sess.note("the order and any duplication can be significant on some platforms, \
746746
and so may need to be preserved");

0 commit comments

Comments
 (0)