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:
commit
02c149deb9
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue