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
msg.push_str("\nOnly one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. ");
149
-
msg.push_str("Try to adjust your dependencies so that only one package uses the `links = \"");
148
+
msg.push_str("\nnote: only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary");
149
+
msg.push_str("\nfor more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links");
150
+
msg.push_str("\nhelp: try to adjust your dependencies so that only one package uses the `links = \"");
150
151
msg.push_str(link);
151
-
msg.push_str("\"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.");
Copy file name to clipboardExpand all lines: tests/testsuite/build_script.rs
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1264,7 +1264,9 @@ versions that meet the requirements `*` are: 0.5.0
1264
1264
1265
1265
package `a-sys` links to the native library `a`, but it conflicts with a previous package which links to `a` as well:
1266
1266
package `foo v0.5.0 ([ROOT]/foo)`
1267
-
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "a"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
1267
+
[NOTE] only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary
1268
+
for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links
1269
+
[HELP] try to adjust your dependencies so that only one package uses the `links = "a"` value
1268
1270
1269
1271
failed to select a version for `a-sys` which could resolve this conflict
1270
1272
@@ -1391,7 +1393,9 @@ versions that meet the requirements `*` are: 0.5.0
1391
1393
1392
1394
package `a-sys` links to the native library `a`, but it conflicts with a previous package which links to `a` as well:
1393
1395
package `foo v0.5.0 ([ROOT]/foo)`
1394
-
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "a"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
1396
+
[NOTE] only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary
1397
+
for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links
1398
+
[HELP] try to adjust your dependencies so that only one package uses the `links = "a"` value
1395
1399
1396
1400
failed to select a version for `a-sys` which could resolve this conflict
1397
1401
@@ -5419,7 +5423,9 @@ versions that meet the requirements `*` are: 0.5.0
5419
5423
5420
5424
package `a` links to the native library `a`, but it conflicts with a previous package which links to `a` as well:
5421
5425
package `foo v0.5.0 ([ROOT]/foo)`
5422
-
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "a"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
5426
+
[NOTE] only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary
5427
+
for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links
5428
+
[HELP] try to adjust your dependencies so that only one package uses the `links = "a"` value
5423
5429
5424
5430
failed to select a version for `a` which could resolve this conflict
0 commit comments