Skip to content

Commit 455de85

Browse files
committed
Specify package_id for rust libs, to avoid spurious warnings
1 parent 23387b0 commit 455de85

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

src/libextra/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Rust extras are part of the standard Rust distribution.
2121
*/
2222

2323
#[link(name = "extra",
24+
package_id = "extra",
2425
vers = "0.9-pre",
2526
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
2627
url = "https://github.com/mozilla/rust/tree/master/src/libextra")];

src/librustc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
#[link(name = "rustc",
12+
package_id = "rustc",
1213
vers = "0.9-pre",
1314
uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf",
1415
url = "https://github.com/mozilla/rust/tree/master/src/rustc")];

src/librustdoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
#[link(name = "rustdoc",
12+
package_id = "rustdoc",
1213
vers = "0.9-pre",
1314
uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6",
1415
url = "https://github.com/mozilla/rust/tree/master/src/librustdoc")];

src/librustpkg/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// rustpkg - a package manager and build system for Rust
1212

1313
#[link(name = "rustpkg",
14+
package_id = "rustpkg",
1415
vers = "0.9-pre",
1516
uuid = "25de5e6e-279e-4a20-845c-4cabae92daaf",
1617
url = "https://github.com/mozilla/rust/tree/master/src/librustpkg")];

src/librustuv/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ via `close` and `delete` methods.
3535
*/
3636

3737
#[link(name = "rustuv",
38+
package_id = "rustuv",
3839
vers = "0.9-pre",
3940
uuid = "f3719011-0459-9b86-b11c-29265c0d0864",
4041
url = "https://github.com/mozilla/rust/tree/master/src/librustuv")];

src/libstd/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
//! use std::prelude::*;
4545
4646
#[link(name = "std",
47+
package_id = "std",
4748
vers = "0.9-pre",
4849
uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8",
4950
url = "https://github.com/mozilla/rust/tree/master/src/libstd")];

src/libsyntax/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515

1616
#[link(name = "syntax",
17+
package_id = "syntax",
1718
vers = "0.9-pre",
1819
uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
1920

0 commit comments

Comments
 (0)