From df38bc627ccc40a4105e632a9d747ac2f6eb3078 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 1 Dec 2022 22:09:06 +1000 Subject: [PATCH] Stop removing build file Since we reconfigure automatically, this should no longer be necessary. --- build/runner/src/build.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build/runner/src/build.rs b/build/runner/src/build.rs index 5e2372d53..ff2dcd98b 100644 --- a/build/runner/src/build.rs +++ b/build/runner/src/build.rs @@ -86,10 +86,6 @@ pub fn run_build(args: BuildArgs) { writeln!(&mut stdout, "\nBuild failed.").unwrap(); stdout.reset().unwrap(); - // One cause of build failures is when a source file that was included in a glob is - // removed. Automatically reconfigure on next run so this situation resolves itself. - fs::remove_file(build_file).expect("build file removal"); - std::process::exit(1); } }