Skip to content

Commit f58de2d

Browse files
committed
Replace unexported meta tags with attributes
Issue #487
1 parent 6002304 commit f58de2d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/comp/back/link.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ mod write {
249249
*
250250
*/
251251
iter crate_export_metas(&ast::crate c) -> @ast::meta_item {
252+
// FIXME: Need to identify exported attributes as described above,
253+
// reevaluate how the above strategy fits in with attributes
252254
for (ast::attribute attr in c.node.attrs) {
253255
put @attr.node.value;
254256
}

src/comp/rustc.rc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
#[vers = "0.1"];
66
#[uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf"];
77
#[url = "http://rust-lang.org/src/rustc"];
8-
9-
meta (desc = "The Rust compiler",
10-
license = "BSD");
8+
#[desc = "The Rust compiler"];
9+
#[license = "BSD"];
1110

1211

1312
use std (name = "std",

src/lib/std.rc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
#[vers = "0.1"];
33
#[uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297"];
44
#[url = "http://rust-lang.org/src/std"];
5-
6-
meta (comment = "Rust standard library",
7-
license = "BSD");
5+
#[comment = "Rust standard library"];
6+
#[license = "BSD"];
87

98
// Built-in types support modules.
109

0 commit comments

Comments
 (0)