From 833ad6018e0fcb4f1fda1ca54feb8256bad27513 Mon Sep 17 00:00:00 2001 From: sevrak Date: Thu, 28 Feb 2013 13:15:32 +0000 Subject: [PATCH] Fix license attribute on crates --- src/libcore/core.rc | 4 ++-- src/libfuzzer/fuzzer.rc | 4 ++-- src/librust/rust.rc | 1 + src/librustc/rustc.rc | 4 ++-- src/librustdoc/rustdoc.rc | 4 ++-- src/librusti/rusti.rc | 3 ++- src/librustpkg/rustpkg.rc | 3 ++- src/libstd/std.rc | 4 ++-- src/libsyntax/syntax.rc | 3 ++- 9 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/libcore/core.rc b/src/libcore/core.rc index ed18388f5783b..bfbda87e180af 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -41,7 +41,7 @@ Implicitly, all crates behave as if they included the following prologue: url = "https://github.com/mozilla/rust/tree/master/src/libcore")]; #[comment = "The Rust core library"]; -#[license = "MIT"]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc index 634c1aff55529..7654645cee89c 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -15,7 +15,7 @@ url = "https://github.com/mozilla/rust/tree/master/src/libfuzzer")]; #[comment = "The Rust fuzzer library"]; -#[license = "MIT"]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[no_core]; diff --git a/src/librust/rust.rc b/src/librust/rust.rc index 950623b876042..1e8cae1d7f3c6 100644 --- a/src/librust/rust.rc +++ b/src/librust/rust.rc @@ -17,6 +17,7 @@ uuid = "4a24da33-5cc8-4037-9352-2cbe9bd9d27c", url = "https://github.com/mozilla/rust/tree/master/src/rust")]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; extern mod core(vers = "0.6"); diff --git a/src/librustc/rustc.rc b/src/librustc/rustc.rc index 56ad56c3ae690..59f698dca0242 100644 --- a/src/librustc/rustc.rc +++ b/src/librustc/rustc.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -15,7 +15,7 @@ url = "https://github.com/mozilla/rust/tree/master/src/rustc")]; #[comment = "The Rust compiler"]; -#[license = "MIT"]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[legacy_modes]; diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc index 7d94352cc8233..34a36f0540985 100644 --- a/src/librustdoc/rustdoc.rc +++ b/src/librustdoc/rustdoc.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -16,7 +16,7 @@ url = "https://github.com/mozilla/rust/tree/master/src/rustdoc")]; #[comment = "The Rust documentation generator"]; -#[license = "MIT"]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[no_core]; diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index 0fe533e3dd9f0..1fb2beef1dc64 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -15,6 +15,7 @@ uuid = "7fb5bf52-7d45-4fee-8325-5ad3311149fc", url = "https://github.com/mozilla/rust/tree/master/src/rusti")]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[no_core]; diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc index c16a56249ffab..91ed185b566f2 100644 --- a/src/librustpkg/rustpkg.rc +++ b/src/librustpkg/rustpkg.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -15,6 +15,7 @@ uuid = "25de5e6e-279e-4a20-845c-4cabae92daaf", url = "https://github.com/mozilla/rust/tree/master/src/librustpkg")]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[no_core]; #[allow(vecs_implicitly_copyable, diff --git a/src/libstd/std.rc b/src/libstd/std.rc index 854abfdd112e6..9ef490670ed09 100644 --- a/src/libstd/std.rc +++ b/src/libstd/std.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -23,7 +23,7 @@ not required in or otherwise suitable for the core library. url = "https://github.com/mozilla/rust/tree/master/src/libstd")]; #[comment = "The Rust standard library"]; -#[license = "MIT"]; +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[allow(vecs_implicitly_copyable)]; diff --git a/src/libsyntax/syntax.rc b/src/libsyntax/syntax.rc index 9eb7507f3d0d7..dac2eeac9eb0f 100644 --- a/src/libsyntax/syntax.rc +++ b/src/libsyntax/syntax.rc @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -14,6 +14,7 @@ +#[license = "MIT/APL2"]; #[crate_type = "lib"]; #[legacy_modes];