Skip to content

Commit 0b719db

Browse files
committed
---
yaml --- r: 195830 b: refs/heads/auto c: 371277f h: refs/heads/master v: v3
1 parent a86e1ba commit 0b719db

File tree

128 files changed

+2167
-3899
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+2167
-3899
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: bb252a8878882013aa5d5a3bb2af93d6cb51a85f
13+
refs/heads/auto: 371277fb0d210152eb8c79e30bd7f7749c5af63c
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/compiletest/compiletest.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ extern crate log;
3131
use std::env;
3232
use std::fs;
3333
use std::path::{Path, PathBuf};
34+
use std::thunk::Thunk;
3435
use getopts::{optopt, optflag, reqopt};
3536
use common::Config;
3637
use common::{Pretty, DebugInfoGdb, DebugInfoLldb, Codegen};
@@ -350,7 +351,7 @@ pub fn make_test_name(config: &Config, testfile: &Path) -> test::TestName {
350351
pub fn make_test_closure(config: &Config, testfile: &Path) -> test::TestFn {
351352
let config = (*config).clone();
352353
let testfile = testfile.to_path_buf();
353-
test::DynTestFn(Box::new(move || {
354+
test::DynTestFn(Thunk::new(move || {
354355
runtest::run(config, &testfile)
355356
}))
356357
}

branches/auto/src/compiletest/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ fn parse_exec_env(line: &str) -> Option<(String, String)> {
311311
parse_name_value_directive(line, "exec-env").map(|nv| {
312312
// nv is either FOO or FOO=BAR
313313
let mut strs: Vec<String> = nv
314-
.splitn(2, '=')
314+
.splitn(1, '=')
315315
.map(|s| s.to_string())
316316
.collect();
317317

0 commit comments

Comments
 (0)