From aafebbcba97a89cedafe82a2142e367bafa607b2 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 24 Feb 2018 16:45:39 +0300 Subject: [PATCH] Remove directory `src/rt` --- src/bootstrap/native.rs | 6 +++--- src/{rt => test/auxiliary}/rust_test_helpers.c | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{rt => test/auxiliary}/rust_test_helpers.c (100%) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 29cd23bdbb197..7836ad214edc4 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -313,7 +313,7 @@ impl Step for TestHelpers { type Output = (); fn should_run(run: ShouldRun) -> ShouldRun { - run.path("src/rt/rust_test_helpers.c") + run.path("src/test/auxiliary/rust_test_helpers.c") } fn make_run(run: RunConfig) { @@ -326,7 +326,7 @@ impl Step for TestHelpers { let build = builder.build; let target = self.target; let dst = build.test_helpers_out(target); - let src = build.src.join("src/rt/rust_test_helpers.c"); + let src = build.src.join("src/test/auxiliary/rust_test_helpers.c"); if up_to_date(&src, &dst.join("librust_test_helpers.a")) { return } @@ -353,7 +353,7 @@ impl Step for TestHelpers { .opt_level(0) .warnings(false) .debug(false) - .file(build.src.join("src/rt/rust_test_helpers.c")) + .file(build.src.join("src/test/auxiliary/rust_test_helpers.c")) .compile("rust_test_helpers"); } } diff --git a/src/rt/rust_test_helpers.c b/src/test/auxiliary/rust_test_helpers.c similarity index 100% rename from src/rt/rust_test_helpers.c rename to src/test/auxiliary/rust_test_helpers.c