Skip to content

Commit 37abec0

Browse files
committed
Tidy
1 parent 10a52d5 commit 37abec0

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

src/bootstrap/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,8 @@ impl Build {
975975
// than an entry here.
976976

977977
let mut base = Vec::new();
978-
if target != self.config.build && !target.contains("msvc") && !target.contains("emscripten") {
978+
if target != self.config.build && !target.contains("msvc") &&
979+
!target.contains("emscripten") {
979980
base.push(format!("-Clinker={}", self.cc(target).display()));
980981
}
981982
return base

src/librustc_llvm/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ fn main() {
6666
let host = env::var("HOST").expect("HOST was not set");
6767
let is_crossed = target != host;
6868

69-
let optional_components = ["x86", "arm", "aarch64", "mips", "powerpc", "pnacl", "systemz", "jsbackend"];
69+
let optional_components = ["x86", "arm", "aarch64", "mips", "powerpc", "pnacl", "systemz",
70+
"jsbackend"];
7071

7172
// FIXME: surely we don't need all these components, right? Stuff like mcjit
7273
// or interpreter the compiler itself never uses.

src/test/compile-fail/allocator-dylib-is-system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// system allocator. Do this by linking in jemalloc and making sure that we get
1919
// an error.
2020

21-
// ignore-emscripten TODO: What "other allocator" should we use for emcc?
21+
// ignore-emscripten FIXME: What "other allocator" should we use for emcc?
2222

2323
#![feature(alloc_jemalloc)]
2424

src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Ensure that rust dynamic libraries use jemalloc as their allocator, verifying
1717
// by linking in the system allocator here and ensuring that we get a complaint.
1818

19-
// ignore-emscripten TODO: What "other allocator" is correct for emscripten?
19+
// ignore-emscripten FIXME: What "other allocator" is correct for emscripten?
2020

2121
#![feature(alloc_system)]
2222

src/test/run-fail/test-panic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// error-pattern:thread 'test_foo' panicked at
1313
// compile-flags: --test
1414
// ignore-pretty: does not work well with `--test`
15-
// ignore-emscripten
15+
// ignore-emscripten
1616

1717
#[test]
1818
fn test_foo() {

src/test/run-fail/test-should-fail-bad-message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// error-pattern:thread 'test_foo' panicked at
1313
// compile-flags: --test
1414
// ignore-pretty: does not work well with `--test`
15-
// ignore-emscripten
15+
// ignore-emscripten
1616

1717
#[test]
1818
#[should_panic(expected = "foobar")]

0 commit comments

Comments
 (0)