mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-19 20:17:11 +03:00
Fix non-msvc grammar compile on Windows (#3190)
This commit is contained in:
parent
73a308c665
commit
b7fa9ba601
@ -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…
Reference in New Issue
Block a user