Skip to content

Commit cb9c102

Browse files
committed
auto merge of #11442 : brson/rust/0.10-pre, r=alexcrichton
2 parents 6e352d7 + 46905c0 commit cb9c102

File tree

15 files changed

+18
-22
lines changed

15 files changed

+18
-22
lines changed

Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ endif
154154

155155
# version-string calculation
156156
CFG_GIT_DIR := $(CFG_SRC_DIR).git
157-
CFG_RELEASE = 0.9
157+
CFG_RELEASE = 0.10-pre
158158
CFG_VERSION = $(CFG_RELEASE)
159159
# windows exe's need numeric versions - don't use anything but
160160
# numbers and dots here
161-
CFG_VERSION_WIN = 0.9
161+
CFG_VERSION_WIN = 0.10
162162

163163
# since $(CFG_GIT) may contain spaces (especially on Windows),
164164
# we need to escape them. (" " to r"\ ")

src/etc/kate/rust.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
88
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
99
]>
10-
<language name="Rust" version="0.9" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
10+
<language name="Rust" version="0.10-pre" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
1111
<highlighting>
1212
<list name="fn">
1313
<item> fn </item>

src/libextra/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Rust extras are part of the standard Rust distribution.
2020
2121
*/
2222

23-
#[crate_id = "extra#0.9"];
23+
#[crate_id = "extra#0.10-pre"];
2424
#[comment = "Rust extras"];
2525
#[license = "MIT/ASL2"];
2626
#[crate_type = "rlib"];

src/libgreen/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
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+
// NOTE: Change to 0.10-pre after snapshot
2021
#[crate_id = "green#0.9"];
2122
#[license = "MIT/ASL2"];
2223
#[crate_type = "rlib"];

src/libnative/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! runtime. In addition, all I/O provided by this crate is the thread blocking
1515
//! version of I/O.
1616
17-
#[crate_id = "native#0.9"];
17+
#[crate_id = "native#0.10-pre"];
1818
#[license = "MIT/ASL2"];
1919
#[crate_type = "rlib"];
2020
#[crate_type = "dylib"];

src/librustc/front/std_inject.rs

+3-8
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ use syntax::fold;
2121
use syntax::opt_vec;
2222
use syntax::util::small_vector::SmallVector;
2323

24-
pub static VERSION: &'static str = "0.9";
25-
2624
pub fn maybe_inject_libstd_ref(sess: Session, crate: ast::Crate)
2725
-> ast::Crate {
2826
if use_std(&crate) {
@@ -59,8 +57,7 @@ impl fold::Folder for StandardLibraryInjector {
5957
fn fold_crate(&mut self, crate: ast::Crate) -> ast::Crate {
6058
let mut vis = ~[ast::ViewItem {
6159
node: ast::ViewItemExternMod(self.sess.ident_of("std"),
62-
Some((format!("std\\#{}", VERSION).to_managed(),
63-
ast::CookedStr)),
60+
None,
6461
ast::DUMMY_NODE_ID),
6562
attrs: ~[],
6663
vis: ast::Private,
@@ -70,17 +67,15 @@ impl fold::Folder for StandardLibraryInjector {
7067
if use_uv(&crate) && !self.sess.building_library.get() {
7168
vis.push(ast::ViewItem {
7269
node: ast::ViewItemExternMod(self.sess.ident_of("green"),
73-
Some((format!("green\\#{}", VERSION).to_managed(),
74-
ast::CookedStr)),
70+
None,
7571
ast::DUMMY_NODE_ID),
7672
attrs: ~[],
7773
vis: ast::Private,
7874
span: DUMMY_SP
7975
});
8076
vis.push(ast::ViewItem {
8177
node: ast::ViewItemExternMod(self.sess.ident_of("rustuv"),
82-
Some((format!("rustuv\\#{}", VERSION).to_managed(),
83-
ast::CookedStr)),
78+
None,
8479
ast::DUMMY_NODE_ID),
8580
attrs: ~[],
8681
vis: ast::Private,

src/librustc/front/test.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use driver::session;
1515
use front::config;
16-
use front::std_inject::VERSION;
1716

1817
use std::cell::RefCell;
1918
use std::vec;
@@ -293,8 +292,7 @@ fn mk_std(cx: &TestCtxt) -> ast::ViewItem {
293292
ast::DUMMY_NODE_ID))])
294293
} else {
295294
ast::ViewItemExternMod(id_extra,
296-
Some((format!("extra\\#{}", VERSION).to_managed(),
297-
ast::CookedStr)),
295+
None,
298296
ast::DUMMY_NODE_ID)
299297
};
300298
ast::ViewItem {

src/librustc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
1818
1919
*/
2020

21-
#[crate_id = "rustc#0.9"];
21+
#[crate_id = "rustc#0.10-pre"];
2222
#[comment = "The Rust compiler"];
2323
#[license = "MIT/ASL2"];
2424
#[crate_type = "dylib"];

src/librustdoc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[crate_id = "rustdoc#0.9"];
11+
#[crate_id = "rustdoc#0.10-pre"];
1212
#[desc = "rustdoc, the Rust documentation extractor"];
1313
#[license = "MIT/ASL2"];
1414
#[crate_type = "dylib"];

src/librustpkg/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

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

13-
#[crate_id = "rustpkg#0.9"];
13+
#[crate_id = "rustpkg#0.10-pre"];
1414
#[license = "MIT/ASL2"];
1515
#[crate_type = "dylib"];
1616

src/librustuv/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ via `close` and `delete` methods.
3434
3535
*/
3636

37+
// NOTE: Change to 0.10-pre after snapshot
3738
#[crate_id = "rustuv#0.9"];
3839
#[license = "MIT/ASL2"];
3940
#[crate_type = "rlib"];

src/libstd/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
//!
4444
//! use std::prelude::*;
4545
46+
// NOTE: Upgrade to 0.10-pre after snapshot
4647
#[crate_id = "std#0.9"];
4748
#[comment = "The Rust standard library"];
4849
#[license = "MIT/ASL2"];

src/libsyntax/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
1818
1919
*/
2020

21-
#[crate_id = "syntax#0.9"];
21+
#[crate_id = "syntax#0.10-pre"];
2222
#[license = "MIT/ASL2"];
2323
#[crate_type = "dylib"];
2424
#[crate_type = "rlib"];

src/test/run-make/crate-data-smoke/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-include ../tools.mk
22

33
all:
4-
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.9" ]
4+
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.10-pre" ]
55
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
66
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
77
[ `$(RUSTC) --crate-file-name --lib --test crate.rs` = "foo" ]

src/test/run-make/crate-data-smoke/crate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[crate_id = "foo#0.9"];
1+
#[crate_id = "foo#0.10-pre"];
22

33
// Querying about the crate metadata should *not* parse the entire crate, it
44
// only needs the crate attributes (which are guaranteed to be at the top) be

0 commit comments

Comments
 (0)