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"];

src/libstd/rtdeps.rs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,3 @@ extern {}
4343
#[cfg(target_os = "macos")]
4444
#[link(name = "pthread")]
4545
extern {}
46-
47-
// NOTE: remove after snapshot
48-
// stage0-generated code still depends on c++
49-
#[cfg(stage0)]
50-
mod stage0 {
51-
#[cfg(target_os = "linux")]
52-
#[link(name = "stdc++")]
53-
extern {}
54-
55-
#[cfg(target_os = "android")]
56-
#[link(name = "supc++")]
57-
extern {}
58-
59-
#[cfg(target_os = "freebsd")]
60-
#[link(name = "stdc++")]
61-
extern {}
62-
63-
#[cfg(target_os = "macos")]
64-
#[link(name = "stdc++")]
65-
extern {}
66-
67-
#[cfg(target_os = "win32")]
68-
#[link(name = "stdc++")]
69-
extern {}
70-
}

src/libsyntax/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* macros.
1414
*/
1515

16-
// NOTE: remove pkgid after snapshot
17-
#[pkgid = "syntax#0.9-pre"];
1816
#[crate_id = "syntax#0.9-pre"];
1917
#[license = "MIT/ASL2"];
2018
#[crate_type = "dylib"];

src/rt/rust_upcall.c

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/snapshots.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
S 2013-12-25 cab6af5
2+
freebsd-x86_64 bf06667e19a24ffad3a4111c704e9e919f08b076
3+
linux-i386 1d3c54daa6192f823dab694e5ea42c636633df6b
4+
linux-x86_64 1af14ca2b248061d5a999062d6bb0825420c0add
5+
macos-i386 7cee8aefd84c8d93cde40b89bf787b669e911171
6+
macos-x86_64 d4a4ef8f2b28d3d5eafbccf0df07999efd8115af
7+
winnt-i386 847e8858bcae47cd56bf1ea3b3c0d536897c8d68
8+
19
S 2013-12-17 d5798b3
210
freebsd-x86_64 8f71dbd1aef6c59867ce6287cc82c6033e1ee5e5
311
linux-i386 3a6e8950ef704ec57ab690b30beda19d7a63a537

0 commit comments

Comments
 (0)