You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/testsuite/build.rs
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5335,7 +5335,11 @@ fn no_linkable_target() {
5335
5335
p.cargo("build")
5336
5336
.with_stderr_data(str![[r#"
5337
5337
[LOCKING] 1 package to latest compatible version
5338
-
[WARNING] The package `the_lib` provides no linkable target. The compiler might raise an error while compiling `foo`. Consider adding 'dylib' or 'rlib' to key `crate-type` in `the_lib`'s Cargo.toml. This warning might turn into a hard error in the future.
5338
+
[WARNING] the package `the_lib` provides no linkable target
5339
+
|
5340
+
= [NOTE] this might cause `foo` to fail compilation
5341
+
= [NOTE] this warning might turn into a hard error in the future
5342
+
= [HELP] consider adding 'dylib' or 'rlib' to key 'crate-type' in `the_lib`'s Cargo.toml
5339
5343
[COMPILING] the_lib v0.1.0 ([ROOT]/foo/the_lib)
5340
5344
[COMPILING] foo v0.1.0 ([ROOT]/foo)
5341
5345
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments