diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-06-18 16:44:53 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-06-18 20:23:05 -0700 |
| commit | f58de2d68759693333913733ddfb0017f4546eac (patch) | |
| tree | 6e6ad316ef0e73bc32024e6f2174b3b872930dd3 /src/comp | |
| parent | 60023047a4caf2c997d7caad0cd82e0c9333e465 (diff) | |
| download | rust-f58de2d68759693333913733ddfb0017f4546eac.tar.gz rust-f58de2d68759693333913733ddfb0017f4546eac.zip | |
Replace unexported meta tags with attributes
Issue #487
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/back/link.rs | 2 | ||||
| -rw-r--r-- | src/comp/rustc.rc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/back/link.rs b/src/comp/back/link.rs index 39247f59a39..81857217962 100644 --- a/src/comp/back/link.rs +++ b/src/comp/back/link.rs @@ -249,6 +249,8 @@ mod write { * */ iter crate_export_metas(&ast::crate c) -> @ast::meta_item { + // FIXME: Need to identify exported attributes as described above, + // reevaluate how the above strategy fits in with attributes for (ast::attribute attr in c.node.attrs) { put @attr.node.value; } diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index 309c3469651..b75b2f221fc 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -5,9 +5,8 @@ #[vers = "0.1"]; #[uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf"]; #[url = "http://rust-lang.org/src/rustc"]; - -meta (desc = "The Rust compiler", - license = "BSD"); +#[desc = "The Rust compiler"]; +#[license = "BSD"]; use std (name = "std", |
