Skip to content

Commit

Permalink
Specify package_id for rust libs, to avoid spurious warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tautologico committed Nov 8, 2013
1 parent 23387b0 commit 455de85
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libextra/lib.rs
Expand Up @@ -21,6 +21,7 @@ Rust extras are part of the standard Rust distribution.
*/

#[link(name = "extra",
package_id = "extra",
vers = "0.9-pre",
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
url = "https://github.com/mozilla/rust/tree/master/src/libextra")];
Expand Down
1 change: 1 addition & 0 deletions src/librustc/lib.rs
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

#[link(name = "rustc",
package_id = "rustc",
vers = "0.9-pre",
uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf",
url = "https://github.com/mozilla/rust/tree/master/src/rustc")];
Expand Down
1 change: 1 addition & 0 deletions src/librustdoc/lib.rs
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

#[link(name = "rustdoc",
package_id = "rustdoc",
vers = "0.9-pre",
uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6",
url = "https://github.com/mozilla/rust/tree/master/src/librustdoc")];
Expand Down
1 change: 1 addition & 0 deletions src/librustpkg/lib.rs
Expand Up @@ -11,6 +11,7 @@
// rustpkg - a package manager and build system for Rust

#[link(name = "rustpkg",
package_id = "rustpkg",
vers = "0.9-pre",
uuid = "25de5e6e-279e-4a20-845c-4cabae92daaf",
url = "https://github.com/mozilla/rust/tree/master/src/librustpkg")];
Expand Down
1 change: 1 addition & 0 deletions src/librustuv/lib.rs
Expand Up @@ -35,6 +35,7 @@ via `close` and `delete` methods.
*/

#[link(name = "rustuv",
package_id = "rustuv",
vers = "0.9-pre",
uuid = "f3719011-0459-9b86-b11c-29265c0d0864",
url = "https://github.com/mozilla/rust/tree/master/src/librustuv")];
Expand Down
1 change: 1 addition & 0 deletions src/libstd/lib.rs
Expand Up @@ -44,6 +44,7 @@
//! use std::prelude::*;

#[link(name = "std",
package_id = "std",
vers = "0.9-pre",
uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8",
url = "https://github.com/mozilla/rust/tree/master/src/libstd")];
Expand Down
1 change: 1 addition & 0 deletions src/libsyntax/lib.rs
Expand Up @@ -14,6 +14,7 @@
*/

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

Expand Down

0 comments on commit 455de85

Please sign in to comment.