Bump version to 0.10-pre
This commit is contained in:
parent
6e352d7631
commit
46905c04f5
15 changed files with 18 additions and 22 deletions
|
@ -21,8 +21,6 @@ use syntax::fold;
|
|||
use syntax::opt_vec;
|
||||
use syntax::util::small_vector::SmallVector;
|
||||
|
||||
pub static VERSION: &'static str = "0.9";
|
||||
|
||||
pub fn maybe_inject_libstd_ref(sess: Session, crate: ast::Crate)
|
||||
-> ast::Crate {
|
||||
if use_std(&crate) {
|
||||
|
@ -59,8 +57,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||
fn fold_crate(&mut self, crate: ast::Crate) -> ast::Crate {
|
||||
let mut vis = ~[ast::ViewItem {
|
||||
node: ast::ViewItemExternMod(self.sess.ident_of("std"),
|
||||
Some((format!("std\\#{}", VERSION).to_managed(),
|
||||
ast::CookedStr)),
|
||||
None,
|
||||
ast::DUMMY_NODE_ID),
|
||||
attrs: ~[],
|
||||
vis: ast::Private,
|
||||
|
@ -70,8 +67,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||
if use_uv(&crate) && !self.sess.building_library.get() {
|
||||
vis.push(ast::ViewItem {
|
||||
node: ast::ViewItemExternMod(self.sess.ident_of("green"),
|
||||
Some((format!("green\\#{}", VERSION).to_managed(),
|
||||
ast::CookedStr)),
|
||||
None,
|
||||
ast::DUMMY_NODE_ID),
|
||||
attrs: ~[],
|
||||
vis: ast::Private,
|
||||
|
@ -79,8 +75,7 @@ impl fold::Folder for StandardLibraryInjector {
|
|||
});
|
||||
vis.push(ast::ViewItem {
|
||||
node: ast::ViewItemExternMod(self.sess.ident_of("rustuv"),
|
||||
Some((format!("rustuv\\#{}", VERSION).to_managed(),
|
||||
ast::CookedStr)),
|
||||
None,
|
||||
ast::DUMMY_NODE_ID),
|
||||
attrs: ~[],
|
||||
vis: ast::Private,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue