From 8c79ed2b80a5151ca1651693934f97ec1a185c2d Mon Sep 17 00:00:00 2001 From: clubby789 Date: Wed, 18 Dec 2024 00:55:43 +0000 Subject: [PATCH] Check linking when testing if compiler flags are supported (#1322) --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 26fd83bd..b2d0979e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -725,9 +725,6 @@ impl Build { }, ); - // Checking for compiler flags does not require linking - cmd.arg("-c"); - cmd.arg(&src); let output = cmd.output()?;