about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-04-18 15:24:25 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-04-18 15:24:25 -0700
commit1aebf30f72c16628ce3b5404329e65a0d4ad4e05 (patch)
treee652971bf4294847b756c430a00727034c5a9954
parent128e95b89df851fdecec348a40c49feb61a7bee7 (diff)
Tidy
-rw-r--r--src/librustpkg/rustpkg.rc2
-rw-r--r--src/librustpkg/testsuite/pass/fancy-lib/bar.rs10
-rw-r--r--src/librustpkg/testsuite/pass/fancy-lib/foo.rs10
-rw-r--r--src/librustpkg/testsuite/pass/install-paths/bench.rs10
-rw-r--r--src/librustpkg/testsuite/pass/simple-lib/bar.rs10
-rw-r--r--src/librustpkg/testsuite/pass/simple-lib/foo.rs10
-rw-r--r--src/librustpkg/util.rs3
7 files changed, 53 insertions, 2 deletions
diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc
index ca8161067c2..206404ae204 100644
--- a/src/librustpkg/rustpkg.rc
+++ b/src/librustpkg/rustpkg.rc
@@ -752,7 +752,7 @@ impl PkgSrc {
                          `test.rs`, or `bench.rs`.");
             fail!(~"Failed to infer crates to build");
         }
-        
+
         debug!("found %u libs, %u mains, %u tests, %u benchs",
                self.libs.len(),
                self.mains.len(),
diff --git a/src/librustpkg/testsuite/pass/fancy-lib/bar.rs b/src/librustpkg/testsuite/pass/fancy-lib/bar.rs
index e300c2a3295..ffbc6e2a7f9 100644
--- a/src/librustpkg/testsuite/pass/fancy-lib/bar.rs
+++ b/src/librustpkg/testsuite/pass/fancy-lib/bar.rs
@@ -1,3 +1,13 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 pub fn assert_true() {
     assert!(true);
 }
diff --git a/src/librustpkg/testsuite/pass/fancy-lib/foo.rs b/src/librustpkg/testsuite/pass/fancy-lib/foo.rs
index 4b3f3923d05..542a6af402d 100644
--- a/src/librustpkg/testsuite/pass/fancy-lib/foo.rs
+++ b/src/librustpkg/testsuite/pass/fancy-lib/foo.rs
@@ -1,2 +1,12 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 pub fn do_nothing() {
 }
\ No newline at end of file
diff --git a/src/librustpkg/testsuite/pass/install-paths/bench.rs b/src/librustpkg/testsuite/pass/install-paths/bench.rs
index 5aa6d2455cf..e1641ccf074 100644
--- a/src/librustpkg/testsuite/pass/install-paths/bench.rs
+++ b/src/librustpkg/testsuite/pass/install-paths/bench.rs
@@ -1,3 +1,13 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 #[bench]
 fn g() {
     let mut x = 0;
diff --git a/src/librustpkg/testsuite/pass/simple-lib/bar.rs b/src/librustpkg/testsuite/pass/simple-lib/bar.rs
index e300c2a3295..ffbc6e2a7f9 100644
--- a/src/librustpkg/testsuite/pass/simple-lib/bar.rs
+++ b/src/librustpkg/testsuite/pass/simple-lib/bar.rs
@@ -1,3 +1,13 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 pub fn assert_true() {
     assert!(true);
 }
diff --git a/src/librustpkg/testsuite/pass/simple-lib/foo.rs b/src/librustpkg/testsuite/pass/simple-lib/foo.rs
index 4b3f3923d05..542a6af402d 100644
--- a/src/librustpkg/testsuite/pass/simple-lib/foo.rs
+++ b/src/librustpkg/testsuite/pass/simple-lib/foo.rs
@@ -1,2 +1,12 @@
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 pub fn do_nothing() {
 }
\ No newline at end of file
diff --git a/src/librustpkg/util.rs b/src/librustpkg/util.rs
index 1709a8d06ad..bb162974e03 100644
--- a/src/librustpkg/util.rs
+++ b/src/librustpkg/util.rs
@@ -528,7 +528,8 @@ pub fn compile_crate_from_input(input: driver::input,
         }
         None => {
             debug!("Calling compile_upto, outputs = %?", outputs);
-            let (crate, _) = driver::compile_upto(sess, cfg, input, driver::cu_parse, Some(outputs));
+            let (crate, _) = driver::compile_upto(sess, cfg, input,
+                                                  driver::cu_parse, Some(outputs));
 
             // Inject the inferred link_meta info if it's not already there
             // (assumes that name and vers are the only linkage metas)