mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Bump version to 0.10-pre
This commit is contained in:
parent
6e352d7631
commit
46905c04f5
@ -154,11 +154,11 @@ endif
|
|||||||
|
|
||||||
# version-string calculation
|
# version-string calculation
|
||||||
CFG_GIT_DIR := $(CFG_SRC_DIR).git
|
CFG_GIT_DIR := $(CFG_SRC_DIR).git
|
||||||
CFG_RELEASE = 0.9
|
CFG_RELEASE = 0.10-pre
|
||||||
CFG_VERSION = $(CFG_RELEASE)
|
CFG_VERSION = $(CFG_RELEASE)
|
||||||
# windows exe's need numeric versions - don't use anything but
|
# windows exe's need numeric versions - don't use anything but
|
||||||
# numbers and dots here
|
# numbers and dots here
|
||||||
CFG_VERSION_WIN = 0.9
|
CFG_VERSION_WIN = 0.10
|
||||||
|
|
||||||
# since $(CFG_GIT) may contain spaces (especially on Windows),
|
# since $(CFG_GIT) may contain spaces (especially on Windows),
|
||||||
# we need to escape them. (" " to r"\ ")
|
# we need to escape them. (" " to r"\ ")
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
||||||
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
||||||
]>
|
]>
|
||||||
<language name="Rust" version="0.9" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
|
<language name="Rust" version="0.10-pre" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<list name="fn">
|
<list name="fn">
|
||||||
<item> fn </item>
|
<item> fn </item>
|
||||||
|
@ -20,7 +20,7 @@ Rust extras are part of the standard Rust distribution.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#[crate_id = "extra#0.9"];
|
#[crate_id = "extra#0.10-pre"];
|
||||||
#[comment = "Rust extras"];
|
#[comment = "Rust extras"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
//! This can be optionally linked in to rust programs in order to provide M:N
|
//! This can be optionally linked in to rust programs in order to provide M:N
|
||||||
//! functionality inside of 1:1 programs.
|
//! functionality inside of 1:1 programs.
|
||||||
|
|
||||||
|
// NOTE: Change to 0.10-pre after snapshot
|
||||||
#[crate_id = "green#0.9"];
|
#[crate_id = "green#0.9"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//! runtime. In addition, all I/O provided by this crate is the thread blocking
|
//! runtime. In addition, all I/O provided by this crate is the thread blocking
|
||||||
//! version of I/O.
|
//! version of I/O.
|
||||||
|
|
||||||
#[crate_id = "native#0.9"];
|
#[crate_id = "native#0.10-pre"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
|
@ -21,8 +21,6 @@ use syntax::fold;
|
|||||||
use syntax::opt_vec;
|
use syntax::opt_vec;
|
||||||
use syntax::util::small_vector::SmallVector;
|
use syntax::util::small_vector::SmallVector;
|
||||||
|
|
||||||
pub static VERSION: &'static str = "0.9";
|
|
||||||
|
|
||||||
pub fn maybe_inject_libstd_ref(sess: Session, crate: ast::Crate)
|
pub fn maybe_inject_libstd_ref(sess: Session, crate: ast::Crate)
|
||||||
-> ast::Crate {
|
-> ast::Crate {
|
||||||
if use_std(&crate) {
|
if use_std(&crate) {
|
||||||
@ -59,8 +57,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||||||
fn fold_crate(&mut self, crate: ast::Crate) -> ast::Crate {
|
fn fold_crate(&mut self, crate: ast::Crate) -> ast::Crate {
|
||||||
let mut vis = ~[ast::ViewItem {
|
let mut vis = ~[ast::ViewItem {
|
||||||
node: ast::ViewItemExternMod(self.sess.ident_of("std"),
|
node: ast::ViewItemExternMod(self.sess.ident_of("std"),
|
||||||
Some((format!("std\\#{}", VERSION).to_managed(),
|
None,
|
||||||
ast::CookedStr)),
|
|
||||||
ast::DUMMY_NODE_ID),
|
ast::DUMMY_NODE_ID),
|
||||||
attrs: ~[],
|
attrs: ~[],
|
||||||
vis: ast::Private,
|
vis: ast::Private,
|
||||||
@ -70,8 +67,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||||||
if use_uv(&crate) && !self.sess.building_library.get() {
|
if use_uv(&crate) && !self.sess.building_library.get() {
|
||||||
vis.push(ast::ViewItem {
|
vis.push(ast::ViewItem {
|
||||||
node: ast::ViewItemExternMod(self.sess.ident_of("green"),
|
node: ast::ViewItemExternMod(self.sess.ident_of("green"),
|
||||||
Some((format!("green\\#{}", VERSION).to_managed(),
|
None,
|
||||||
ast::CookedStr)),
|
|
||||||
ast::DUMMY_NODE_ID),
|
ast::DUMMY_NODE_ID),
|
||||||
attrs: ~[],
|
attrs: ~[],
|
||||||
vis: ast::Private,
|
vis: ast::Private,
|
||||||
@ -79,8 +75,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||||||
});
|
});
|
||||||
vis.push(ast::ViewItem {
|
vis.push(ast::ViewItem {
|
||||||
node: ast::ViewItemExternMod(self.sess.ident_of("rustuv"),
|
node: ast::ViewItemExternMod(self.sess.ident_of("rustuv"),
|
||||||
Some((format!("rustuv\\#{}", VERSION).to_managed(),
|
None,
|
||||||
ast::CookedStr)),
|
|
||||||
ast::DUMMY_NODE_ID),
|
ast::DUMMY_NODE_ID),
|
||||||
attrs: ~[],
|
attrs: ~[],
|
||||||
vis: ast::Private,
|
vis: ast::Private,
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
use driver::session;
|
use driver::session;
|
||||||
use front::config;
|
use front::config;
|
||||||
use front::std_inject::VERSION;
|
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::vec;
|
use std::vec;
|
||||||
@ -293,8 +292,7 @@ fn mk_std(cx: &TestCtxt) -> ast::ViewItem {
|
|||||||
ast::DUMMY_NODE_ID))])
|
ast::DUMMY_NODE_ID))])
|
||||||
} else {
|
} else {
|
||||||
ast::ViewItemExternMod(id_extra,
|
ast::ViewItemExternMod(id_extra,
|
||||||
Some((format!("extra\\#{}", VERSION).to_managed(),
|
None,
|
||||||
ast::CookedStr)),
|
|
||||||
ast::DUMMY_NODE_ID)
|
ast::DUMMY_NODE_ID)
|
||||||
};
|
};
|
||||||
ast::ViewItem {
|
ast::ViewItem {
|
||||||
|
@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#[crate_id = "rustc#0.9"];
|
#[crate_id = "rustc#0.10-pre"];
|
||||||
#[comment = "The Rust compiler"];
|
#[comment = "The Rust compiler"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#[crate_id = "rustdoc#0.9"];
|
#[crate_id = "rustdoc#0.10-pre"];
|
||||||
#[desc = "rustdoc, the Rust documentation extractor"];
|
#[desc = "rustdoc, the Rust documentation extractor"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
// rustpkg - a package manager and build system for Rust
|
// rustpkg - a package manager and build system for Rust
|
||||||
|
|
||||||
#[crate_id = "rustpkg#0.9"];
|
#[crate_id = "rustpkg#0.10-pre"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ via `close` and `delete` methods.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// NOTE: Change to 0.10-pre after snapshot
|
||||||
#[crate_id = "rustuv#0.9"];
|
#[crate_id = "rustuv#0.9"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
//!
|
//!
|
||||||
//! use std::prelude::*;
|
//! use std::prelude::*;
|
||||||
|
|
||||||
|
// NOTE: Upgrade to 0.10-pre after snapshot
|
||||||
#[crate_id = "std#0.9"];
|
#[crate_id = "std#0.9"];
|
||||||
#[comment = "The Rust standard library"];
|
#[comment = "The Rust standard library"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
|
@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#[crate_id = "syntax#0.9"];
|
#[crate_id = "syntax#0.10-pre"];
|
||||||
#[license = "MIT/ASL2"];
|
#[license = "MIT/ASL2"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-include ../tools.mk
|
-include ../tools.mk
|
||||||
|
|
||||||
all:
|
all:
|
||||||
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.9" ]
|
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.10-pre" ]
|
||||||
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
|
||||||
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
|
||||||
[ `$(RUSTC) --crate-file-name --lib --test crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-file-name --lib --test crate.rs` = "foo" ]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#[crate_id = "foo#0.9"];
|
#[crate_id = "foo#0.10-pre"];
|
||||||
|
|
||||||
// Querying about the crate metadata should *not* parse the entire crate, it
|
// Querying about the crate metadata should *not* parse the entire crate, it
|
||||||
// only needs the crate attributes (which are guaranteed to be at the top) be
|
// only needs the crate attributes (which are guaranteed to be at the top) be
|
||||||
|
Loading…
Reference in New Issue
Block a user