aboutsummaryrefslogtreecommitdiff
path: root/helix-loader/src
diff options
context:
space:
mode:
authorbootra2022-07-26 00:33:53 +0000
committerGitHub2022-07-26 00:33:53 +0000
commitb7fa9ba6014f3253ec4ed56dd35d6ee29af36638 (patch)
treec500f2a6f2dbd9e3049a0e7594223f8ce6657d00 /helix-loader/src
parent73a308c6654cb600d811c2883f038a1e11efeed9 (diff)
Fix non-msvc grammar compile on Windows (#3190)
Diffstat (limited to 'helix-loader/src')
-rw-r--r--helix-loader/src/grammar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-loader/src/grammar.rs b/helix-loader/src/grammar.rs
index 7aa9bc83..3a8a4918 100644
--- a/helix-loader/src/grammar.rs
+++ b/helix-loader/src/grammar.rs
@@ -319,7 +319,7 @@ fn build_tree_sitter_library(src_path: &Path, grammar: GrammarConfiguration) ->
command.env(key, value);
}
- if cfg!(windows) {
+ if cfg!(all(windows, target_env = "msvc")) {
command
.args(&["/nologo", "/LD", "/I"])
.arg(header_path)