Skip to content

Commit cde6a08

Browse files
committed
---
yaml --- r: 196300 b: refs/heads/tmp c: d81e866 h: refs/heads/master v: v3
1 parent 8785ccf commit cde6a08

File tree

124 files changed

+2128
-3829
lines changed

Some content is hidden

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

124 files changed

+2128
-3829
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 9854143cba679834bc4ef932858cd5303f015a0e
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: 9bb05fd41403c6fc28b82e8eff35f8791876ac18
35+
refs/heads/tmp: d81e86622ca6864c6510d1cb072fcbfc6be2ea3d
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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/tmp/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)