Skip to content

Commit 1aebf30

Browse files
committed
Tidy
1 parent 128e95b commit 1aebf30

File tree

7 files changed

+53
-2
lines changed

7 files changed

+53
-2
lines changed

src/librustpkg/rustpkg.rc

+1-1
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ impl PkgSrc {
752752
`test.rs`, or `bench.rs`.");
753753
fail!(~"Failed to infer crates to build");
754754
}
755-
755+
756756
debug!("found %u libs, %u mains, %u tests, %u benchs",
757757
self.libs.len(),
758758
self.mains.len(),
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
pub fn assert_true() {
212
assert!(true);
313
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1+
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
pub fn do_nothing() {
212
}

src/librustpkg/testsuite/pass/install-paths/bench.rs

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
#[bench]
212
fn g() {
313
let mut x = 0;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
pub fn assert_true() {
212
assert!(true);
313
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1+
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
pub fn do_nothing() {
212
}

src/librustpkg/util.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@ pub fn compile_crate_from_input(input: driver::input,
528528
}
529529
None => {
530530
debug!("Calling compile_upto, outputs = %?", outputs);
531-
let (crate, _) = driver::compile_upto(sess, cfg, input, driver::cu_parse, Some(outputs));
531+
let (crate, _) = driver::compile_upto(sess, cfg, input,
532+
driver::cu_parse, Some(outputs));
532533
533534
// Inject the inferred link_meta info if it's not already there
534535
// (assumes that name and vers are the only linkage metas)

0 commit comments

Comments
 (0)