From 04453f64afeaf88f12800331d2766a8d77649658 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 9 Jan 2023 11:09:51 -0800 Subject: [PATCH] fix: remove redundant get_compiler() call --- cli/loader/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/loader/src/lib.rs b/cli/loader/src/lib.rs index 2c268347..30cec2ca 100644 --- a/cli/loader/src/lib.rs +++ b/cli/loader/src/lib.rs @@ -377,7 +377,6 @@ impl Loader { command.env(key, value); } - let compiler = config.get_compiler(); if compiler.is_like_msvc() { command.args(&["/nologo", "/LD", "/I"]).arg(header_path); if self.debug_build {