File tree 15 files changed +18
-22
lines changed
test/run-make/crate-data-smoke
15 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,11 @@ endif
154
154
155
155
# version-string calculation
156
156
CFG_GIT_DIR := $(CFG_SRC_DIR ) .git
157
- CFG_RELEASE = 0.9
157
+ CFG_RELEASE = 0.10-pre
158
158
CFG_VERSION = $(CFG_RELEASE )
159
159
# windows exe's need numeric versions - don't use anything but
160
160
# numbers and dots here
161
- CFG_VERSION_WIN = 0.9
161
+ CFG_VERSION_WIN = 0.10
162
162
163
163
# since $(CFG_GIT) may contain spaces (especially on Windows),
164
164
# we need to escape them. (" " to r"\ ")
Original file line number Diff line number Diff line change 7
7
<!ENTITY rustIdent " [a-zA-Z_][a-zA-Z_0-9]*" >
8
8
<!ENTITY rustIntSuf " ([iu](8|16|32|64)?)?" >
9
9
]>
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" >
11
11
<highlighting >
12
12
<list name =" fn" >
13
13
<item > fn </item >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Rust extras are part of the standard Rust distribution.
20
20
21
21
*/
22
22
23
- #[ crate_id = "extra#0.9 " ] ;
23
+ #[ crate_id = "extra#0.10-pre " ] ;
24
24
#[ comment = "Rust extras" ] ;
25
25
#[ license = "MIT/ASL2" ] ;
26
26
#[ crate_type = "rlib" ] ;
Original file line number Diff line number Diff line change 17
17
//! This can be optionally linked in to rust programs in order to provide M:N
18
18
//! functionality inside of 1:1 programs.
19
19
20
+ // NOTE: Change to 0.10-pre after snapshot
20
21
#[ crate_id = "green#0.9" ] ;
21
22
#[ license = "MIT/ASL2" ] ;
22
23
#[ crate_type = "rlib" ] ;
Original file line number Diff line number Diff line change 14
14
//! runtime. In addition, all I/O provided by this crate is the thread blocking
15
15
//! version of I/O.
16
16
17
- #[ crate_id = "native#0.9 " ] ;
17
+ #[ crate_id = "native#0.10-pre " ] ;
18
18
#[ license = "MIT/ASL2" ] ;
19
19
#[ crate_type = "rlib" ] ;
20
20
#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ use syntax::fold;
21
21
use syntax:: opt_vec;
22
22
use syntax:: util:: small_vector:: SmallVector ;
23
23
24
- pub static VERSION : & ' static str = "0.9" ;
25
-
26
24
pub fn maybe_inject_libstd_ref ( sess : Session , crate : ast:: Crate )
27
25
-> ast:: Crate {
28
26
if use_std ( & crate ) {
@@ -59,8 +57,7 @@ impl fold::Folder for StandardLibraryInjector {
59
57
fn fold_crate ( & mut self , crate : ast:: Crate ) -> ast:: Crate {
60
58
let mut vis = ~[ ast:: ViewItem {
61
59
node : ast:: ViewItemExternMod ( self . sess . ident_of ( "std" ) ,
62
- Some ( ( format ! ( "std\\ #{}" , VERSION ) . to_managed ( ) ,
63
- ast:: CookedStr ) ) ,
60
+ None ,
64
61
ast:: DUMMY_NODE_ID ) ,
65
62
attrs : ~[ ] ,
66
63
vis : ast:: Private ,
@@ -70,17 +67,15 @@ impl fold::Folder for StandardLibraryInjector {
70
67
if use_uv ( & crate ) && !self . sess . building_library . get ( ) {
71
68
vis. push ( ast:: ViewItem {
72
69
node : ast:: ViewItemExternMod ( self . sess . ident_of ( "green" ) ,
73
- Some ( ( format ! ( "green\\ #{}" , VERSION ) . to_managed ( ) ,
74
- ast:: CookedStr ) ) ,
70
+ None ,
75
71
ast:: DUMMY_NODE_ID ) ,
76
72
attrs : ~[ ] ,
77
73
vis : ast:: Private ,
78
74
span : DUMMY_SP
79
75
} ) ;
80
76
vis. push ( ast:: ViewItem {
81
77
node : ast:: ViewItemExternMod ( self . sess . ident_of ( "rustuv" ) ,
82
- Some ( ( format ! ( "rustuv\\ #{}" , VERSION ) . to_managed ( ) ,
83
- ast:: CookedStr ) ) ,
78
+ None ,
84
79
ast:: DUMMY_NODE_ID ) ,
85
80
attrs : ~[ ] ,
86
81
vis : ast:: Private ,
Original file line number Diff line number Diff line change 13
13
14
14
use driver:: session;
15
15
use front:: config;
16
- use front:: std_inject:: VERSION ;
17
16
18
17
use std:: cell:: RefCell ;
19
18
use std:: vec;
@@ -293,8 +292,7 @@ fn mk_std(cx: &TestCtxt) -> ast::ViewItem {
293
292
ast:: DUMMY_NODE_ID ) ) ] )
294
293
} else {
295
294
ast:: ViewItemExternMod ( id_extra,
296
- Some ( ( format ! ( "extra\\ #{}" , VERSION ) . to_managed ( ) ,
297
- ast:: CookedStr ) ) ,
295
+ None ,
298
296
ast:: DUMMY_NODE_ID )
299
297
} ;
300
298
ast:: ViewItem {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
18
18
19
19
*/
20
20
21
- #[ crate_id = "rustc#0.9 " ] ;
21
+ #[ crate_id = "rustc#0.10-pre " ] ;
22
22
#[ comment = "The Rust compiler" ] ;
23
23
#[ license = "MIT/ASL2" ] ;
24
24
#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- #[ crate_id = "rustdoc#0.9 " ] ;
11
+ #[ crate_id = "rustdoc#0.10-pre " ] ;
12
12
#[ desc = "rustdoc, the Rust documentation extractor" ] ;
13
13
#[ license = "MIT/ASL2" ] ;
14
14
#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change 10
10
11
11
// rustpkg - a package manager and build system for Rust
12
12
13
- #[ crate_id = "rustpkg#0.9 " ] ;
13
+ #[ crate_id = "rustpkg#0.10-pre " ] ;
14
14
#[ license = "MIT/ASL2" ] ;
15
15
#[ crate_type = "dylib" ] ;
16
16
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ via `close` and `delete` methods.
34
34
35
35
*/
36
36
37
+ // NOTE: Change to 0.10-pre after snapshot
37
38
#[ crate_id = "rustuv#0.9" ] ;
38
39
#[ license = "MIT/ASL2" ] ;
39
40
#[ crate_type = "rlib" ] ;
Original file line number Diff line number Diff line change 43
43
//!
44
44
//! use std::prelude::*;
45
45
46
+ // NOTE: Upgrade to 0.10-pre after snapshot
46
47
#[ crate_id = "std#0.9" ] ;
47
48
#[ comment = "The Rust standard library" ] ;
48
49
#[ license = "MIT/ASL2" ] ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
18
18
19
19
*/
20
20
21
- #[ crate_id = "syntax#0.9 " ] ;
21
+ #[ crate_id = "syntax#0.10-pre " ] ;
22
22
#[ license = "MIT/ASL2" ] ;
23
23
#[ crate_type = "dylib" ] ;
24
24
#[ crate_type = "rlib" ] ;
Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
3
3
all :
4
- [ ` $( RUSTC) --crate-id crate.rs` = " foo#0.9 " ]
4
+ [ ` $( RUSTC) --crate-id crate.rs` = " foo#0.10-pre " ]
5
5
[ ` $( RUSTC) --crate-name crate.rs` = " foo" ]
6
6
[ ` $( RUSTC) --crate-file-name crate.rs` = " foo" ]
7
7
[ ` $( RUSTC) --crate-file-name --lib --test crate.rs` = " foo" ]
Original file line number Diff line number Diff line change 1
- #[ crate_id = "foo#0.9 " ] ;
1
+ #[ crate_id = "foo#0.10-pre " ] ;
2
2
3
3
// Querying about the crate metadata should *not* parse the entire crate, it
4
4
// only needs the crate attributes (which are guaranteed to be at the top) be
You can’t perform that action at this time.
0 commit comments