Skip to content

Commit d8f335c

Browse files
committed
---
yaml --- r: 64419 b: refs/heads/snap-stage3 c: d300a64 h: refs/heads/master i: 64417: 72a3abe 64415: 4a6c559 v: v3
1 parent d753eba commit d8f335c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: a1cd1429fb6f007735a3de792b5ba8ba24cd5328
4+
refs/heads/snap-stage3: d300a64520294eac39a649c276b0b41a62a0fb99
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/configure

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,9 @@ do
921921
esac
922922
need_ok "LLVM configure failed"
923923

924+
# Hack the tools Makefile to turn off the clang build
925+
sed -i 's/clang//g' tools/Makefile
926+
924927
cd $CFG_BUILD_DIR
925928
fi
926929

branches/snap-stage3/src/compiletest/compiletest.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ pub fn test_opts(config: &config) -> test::TestOpts {
230230
logfile: config.logfile.clone(),
231231
run_tests: true,
232232
run_benchmarks: true,
233-
ratchet_metrics: copy config.ratchet_metrics,
234-
ratchet_noise_percent: copy config.ratchet_noise_percent,
235-
save_metrics: copy config.save_metrics,
233+
ratchet_metrics: config.ratchet_metrics.clone(),
234+
ratchet_noise_percent: config.ratchet_noise_percent.clone(),
235+
save_metrics: config.save_metrics.clone(),
236236
}
237237
}
238238

@@ -315,7 +315,7 @@ pub fn make_test_closure(config: &config, testfile: &Path) -> test::TestFn {
315315

316316
pub fn make_metrics_test_closure(config: &config, testfile: &Path) -> test::TestFn {
317317
use std::cell::Cell;
318-
let config = Cell::new(copy *config);
318+
let config = Cell::new((*config).clone());
319319
let testfile = Cell::new(testfile.to_str());
320320
test::DynMetricFn(|mm| { runtest::run_metrics(config.take(), testfile.take(), mm) })
321321
}

0 commit comments

Comments
 (0)