From 5b7c2eb6320cffda8efc4c7b532f2daf87f4d496 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Tue, 17 Dec 2024 19:55:23 +0000 Subject: [PATCH] Check linking when testing if compiler flags are supported --- 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()?;