Skip to content

Commit cbb3af1

Browse files
michaelwoeristerretep998
authored andcommitted
Make the filenames of .stamp files generated by compiletest shorter.
Otherwise we run into filename length limitations on some file systems (especially ecryptfs).
1 parent 58c701f commit cbb3af1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/compiletest/src/main.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,9 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
486486
}
487487

488488
fn stamp(config: &Config, testpaths: &TestPaths) -> PathBuf {
489-
let stamp_name = format!("{}-H-{}-T-{}-S-{}.stamp",
489+
let stamp_name = format!("{}-{}.stamp",
490490
testpaths.file.file_name().unwrap()
491491
.to_str().unwrap(),
492-
config.host,
493-
config.target,
494492
config.stage_id);
495493
config.build_base.canonicalize()
496494
.unwrap_or(config.build_base.clone())

0 commit comments

Comments
 (0)