Skip to content

Commit f74b8f0

Browse files
committed
auto merge of #11148 : alexcrichton/rust/snapshots, r=luqmana
C++ is gone for good and `crate_id` is the new `pkgid`.
2 parents 1f34f50 + ab431a2 commit f74b8f0

File tree

14 files changed

+9
-136
lines changed

14 files changed

+9
-136
lines changed

mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ endif
7474

7575
RUNTIME_CS_$(1)_$(2) := \
7676
rt/rust_builtin.c \
77-
rt/rust_upcall.c \
7877
rt/miniz.c \
7978
rt/rust_android_dummy.c \
8079
rt/rust_test_helpers.c

src/libextra/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Rust extras are part of the standard Rust distribution.
2020
2121
*/
2222

23-
// NOTE: remove after snapshot
24-
#[pkgid = "extra#0.9-pre"];
2523
#[crate_id = "extra#0.9-pre"];
2624
#[comment = "Rust extras"];
2725
#[license = "MIT/ASL2"];

src/libgreen/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
//! This can be optionally linked in to rust programs in order to provide M:N
1818
//! functionality inside of 1:1 programs.
1919
20-
#[pkgid = "green#0.9-pre"];
2120
#[crate_id = "green#0.9-pre"];
2221
#[license = "MIT/ASL2"];
2322
#[crate_type = "rlib"];

src/libnative/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
//! runtime. In addition, all I/O provided by this crate is the thread blocking
1515
//! version of I/O.
1616
17-
#[pkgid = "native#0.9-pre"];
1817
#[crate_id = "native#0.9-pre"];
1918
#[license = "MIT/ASL2"];
2019
#[crate_type = "rlib"];

src/librustc/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// NOTE: remove after snapshot
12-
#[pkgid = "rustc#0.9-pre"];
1311
#[crate_id = "rustc#0.9-pre"];
1412
#[comment = "The Rust compiler"];
1513
#[license = "MIT/ASL2"];

src/librustc/middle/lint.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,7 @@ fn check_heap_item(cx: &Context, it: &ast::item) {
828828
}
829829

830830
static crate_attrs: &'static [&'static str] = &[
831-
// NOTE: remove pkgid after snapshot
832-
"crate_type", "feature", "no_uv", "no_main", "no_std", "pkgid", "crate_id",
831+
"crate_type", "feature", "no_uv", "no_main", "no_std", "crate_id",
833832
"desc", "comment", "license", "copyright", // not used in rustc now
834833
];
835834

src/librustdoc/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// NOTE: remove after snapshot
12-
#[pkgid = "rustdoc#0.9-pre"];
1311
#[crate_id = "rustdoc#0.9-pre"];
1412
#[desc = "rustdoc, the Rust documentation extractor"];
1513
#[license = "MIT/ASL2"];

src/librustpkg/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
// rustpkg - a package manager and build system for Rust
1212

13-
// NOTE: remove after snapshot
14-
#[pkgid = "rustpkg#0.9-pre"];
1513
#[crate_id = "rustpkg#0.9-pre"];
1614
#[license = "MIT/ASL2"];
1715
#[crate_type = "dylib"];

src/librustuv/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ via `close` and `delete` methods.
3434
3535
*/
3636

37-
// NOTE: remove after snapshot
38-
#[pkgid = "rustuv#0.9-pre"];
3937
#[crate_id = "rustuv#0.9-pre"];
4038
#[license = "MIT/ASL2"];
4139
#[crate_type = "rlib"];

src/libstd/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
//!
4444
//! use std::prelude::*;
4545
46-
// NOTE: remove after snapshot
47-
#[pkgid = "std#0.9-pre"];
4846
#[crate_id = "std#0.9-pre"];
4947
#[comment = "The Rust standard library"];
5048
#[license = "MIT/ASL2"];

0 commit comments

Comments
 (0)