From f58de2d68759693333913733ddfb0017f4546eac Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 18 Jun 2011 16:44:53 -0700 Subject: [PATCH] Replace unexported meta tags with attributes Issue #487 --- src/comp/back/link.rs | 2 ++ src/comp/rustc.rc | 5 ++--- src/lib/std.rc | 5 ++--- 3 files changed, 6 insertions(+), 6 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 @@ fn run_passes(session::session sess, ModuleRef llmod, str output) { * */ 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", diff --git a/src/lib/std.rc b/src/lib/std.rc index 577e62fbd2c..29de0f0ed97 100644 --- a/src/lib/std.rc +++ b/src/lib/std.rc @@ -2,9 +2,8 @@ #[vers = "0.1"]; #[uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297"]; #[url = "http://rust-lang.org/src/std"]; - -meta (comment = "Rust standard library", - license = "BSD"); +#[comment = "Rust standard library"]; +#[license = "BSD"]; // Built-in types support modules. -- GitLab