diff options
author | bootra | 2022-07-26 00:33:53 +0000 |
---|---|---|
committer | GitHub | 2022-07-26 00:33:53 +0000 |
commit | b7fa9ba6014f3253ec4ed56dd35d6ee29af36638 (patch) | |
tree | c500f2a6f2dbd9e3049a0e7594223f8ce6657d00 | |
parent | 73a308c6654cb600d811c2883f038a1e11efeed9 (diff) |
Fix non-msvc grammar compile on Windows (#3190)
-rw-r--r-- | helix-loader/src/grammar.rs | 2 |
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) |