Fix non-msvc grammar compile on Windows (#3190)
This commit is contained in:
parent
73a308c665
commit
b7fa9ba601
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue