File tree Expand file tree Collapse file tree 9 files changed +20
-63
lines changed Expand file tree Collapse file tree 9 files changed +20
-63
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,14 @@ Rust extras are part of the standard Rust distribution.
2020
2121*/
2222
23- #[ pkgid="extra#0.9-pre" ] ;
24- // NOTE: remove after the next snapshot
25- #[ link( name = "extra" ,
26- package_id = "extra" ,
27- vers = "0.9-pre" ,
28- uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297" ,
29- url = "https://github.com/mozilla/rust/tree/master/src/libextra" ) ] ;
30-
31- #[ doc( html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png" ,
32- html_favicon_url = "http://www.rust-lang.org/favicon.ico" ,
33- html_root_url = "http://static.rust-lang.org/doc/master" ) ] ;
34-
23+ #[ pkgid = "extra#0.9-pre" ] ;
3524#[ comment = "Rust extras" ] ;
3625#[ license = "MIT/ASL2" ] ;
3726#[ crate_type = "rlib" ] ;
3827#[ crate_type = "dylib" ] ;
28+ #[ doc( html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png" ,
29+ html_favicon_url = "http://www.rust-lang.org/favicon.ico" ,
30+ html_root_url = "http://static.rust-lang.org/doc/master" ) ] ;
3931
4032#[ feature( macro_rules, globs, managed_boxes) ] ;
4133
Original file line number Diff line number Diff line change @@ -375,9 +375,8 @@ fn mk_tests(cx: &TestCtxt) -> @ast::item {
375375}
376376
377377fn is_extra ( crate : & ast:: Crate ) -> bool {
378- let items = attr:: find_linkage_metas ( crate . attrs) ;
379- match attr:: last_meta_item_value_str_by_name ( items, "name" ) {
380- Some ( s) if "extra" == s => true ,
378+ match attr:: find_pkgid ( crate . attrs) {
379+ Some ( ref s) if "extra" == s. name => true ,
381380 _ => false
382381 }
383382}
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #[ pkgid="rustc#0.9-pre" ] ;
12- // NOTE: remove after the next snapshot
13- #[ link( name = "rustc" ,
14- package_id = "rustc" ,
15- vers = "0.9-pre" ,
16- uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf" ,
17- url = "https://github.com/mozilla/rust/tree/master/src/rustc" ) ] ;
18-
11+ #[ pkgid = "rustc#0.9-pre" ] ;
1912#[ comment = "The Rust compiler" ] ;
2013#[ license = "MIT/ASL2" ] ;
2114#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #[ pkgid="rustdoc#0.9-pre" ] ;
12- // NOTE: remove after the next snapshot
13- #[ link( name = "rustdoc" ,
14- package_id = "rustdoc" ,
15- vers = "0.9-pre" ,
16- uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6" ,
17- url = "https://github.com/mozilla/rust/tree/master/src/librustdoc" ) ] ;
18-
11+ #[ pkgid = "rustdoc#0.9-pre" ] ;
1912#[ desc = "rustdoc, the Rust documentation extractor" ] ;
2013#[ license = "MIT/ASL2" ] ;
2114#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change 1010
1111// rustpkg - a package manager and build system for Rust
1212
13- #[ pkgid="rustpkg#0.9-pre" ] ;
14- // NOTE: remove after the next snapshot
15- #[ link( name = "rustpkg" ,
16- package_id = "rustpkg" ,
17- vers = "0.9-pre" ,
18- uuid = "25de5e6e-279e-4a20-845c-4cabae92daaf" ,
19- url = "https://github.com/mozilla/rust/tree/master/src/librustpkg" ) ] ;
20-
13+ #[ pkgid = "rustpkg#0.9-pre" ] ;
2114#[ license = "MIT/ASL2" ] ;
2215#[ crate_type = "dylib" ] ;
2316
Original file line number Diff line number Diff line change @@ -34,14 +34,7 @@ via `close` and `delete` methods.
3434
3535*/
3636
37- #[ pkgid="rustuv#0.9-pre" ] ;
38- // NOTE: remove after the next snapshot
39- #[ link( name = "rustuv" ,
40- package_id = "rustuv" ,
41- vers = "0.9-pre" ,
42- uuid = "f3719011-0459-9b86-b11c-29265c0d0864" ,
43- url = "https://github.com/mozilla/rust/tree/master/src/librustuv" ) ] ;
44-
37+ #[ pkgid = "rustuv#0.9-pre" ] ;
4538#[ license = "MIT/ASL2" ] ;
4639#[ crate_type = "rlib" ] ;
4740#[ crate_type = "dylib" ] ;
Original file line number Diff line number Diff line change 4343//!
4444//! use std::prelude::*;
4545
46- #[ pkgid="std#0.9-pre" ] ;
47- // NOTE: remove after the next snapshot
48- #[ link( name = "std" ,
49- package_id = "std" ,
50- vers = "0.9-pre" ,
51- uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8" ,
52- url = "https://github.com/mozilla/rust/tree/master/src/libstd" ) ] ;
53-
46+ #[ pkgid = "std#0.9-pre" ] ;
5447#[ comment = "The Rust standard library" ] ;
5548#[ license = "MIT/ASL2" ] ;
5649#[ crate_type = "rlib" ] ;
5750#[ crate_type = "dylib" ] ;
58-
5951#[ doc( html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png" ,
6052 html_favicon_url = "http://www.rust-lang.org/favicon.ico" ,
6153 html_root_url = "http://static.rust-lang.org/doc/master" ) ] ;
Original file line number Diff line number Diff line change 1313 * macros.
1414 */
1515
16- #[ pkgid="syntax#0.9-pre" ] ;
17- // NOTE: remove after the next snapshot
18- #[ link( name = "syntax" ,
19- package_id = "syntax" ,
20- vers = "0.9-pre" ,
21- uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645" ) ] ;
22-
16+ #[ pkgid = "syntax#0.9-pre" ] ;
2317#[ license = "MIT/ASL2" ] ;
2418#[ crate_type = "dylib" ] ;
2519#[ crate_type = "rlib" ] ;
Original file line number Diff line number Diff line change 1+ S 2013-12-10 b8b16ae
2+ freebsd-x86_64 08d28a3a47f4263dc0a005374e59d30b1b942ab2
3+ linux-i386 4cd5d8b80014a69dea9744fd12c8cdab6269d263
4+ linux-x86_64 b68c106f377b226ebd17210fbce84423e3ffa6c2
5+ macos-i386 797b3e01c5ed9fbd3549d75300a005e4a987a84c
6+ macos-x86_64 b5f33edc57378ef1533dea258ac04c3bbe0e71da
7+ winnt-i386 656ffae4528290f942acf4ac5af515fb802d6bd9
8+
19S 2013-12-09 b485e2b
210 freebsd-x86_64 424f1504e7dfe43d1238a8b6e6abea8879297fa2
311 linux-i386 214dc3cb3224f7ad6ef02e684cf6505113e5dc9a
You can’t perform that action at this time.
0 commit comments