From 3d1b468aebb8bfe707cc2fc6d1e5e618c86fe626 Mon Sep 17 00:00:00 2001 From: Marnix Kuijs <44985093+MarnixKuijs@users.noreply.github.com> Date: Tue, 10 Nov 2020 12:42:12 +0100 Subject: [PATCH] Disable debug build for MoltenVK (#32) * Disable debug build for MoltenVK * Fix variable name --- build.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.rs b/build.rs index bea7d1f..d704a30 100644 --- a/build.rs +++ b/build.rs @@ -96,12 +96,9 @@ mod mac { assert!(status.success(), "failed to fetchDependencies"); - let mut target = target_name.to_owned(); - target.push_str("-debug"); - let status = Command::new("make") .current_dir(&checkout_dir) - .arg(target) + .arg(target_name) .spawn() .expect("failed to build MoltenVK") .wait()