Avoid dependencies build errors on Windows (#7827)
This is a compilation of fixes for errors that appeared in dependent crates in Windows. - wezterm (zed-industries/wezterm#1) - tree-sitter-svelte (Himujjal/tree-sitter-svelte#54) - tree-sitter-uiua (shnarazk/tree-sitter-uiua#25) - tree-sitter-haskell (I sent a PR, but upstream source is regenerated and no longer errors.) Release Notes: - N/A
This commit is contained in:
parent
37f6a706cc
commit
0037f0b2fd
7 changed files with 22 additions and 24 deletions
|
@ -143,7 +143,6 @@ tree-sitter-ocaml.workspace = true
|
|||
tree-sitter-php.workspace = true
|
||||
tree-sitter-prisma-io.workspace = true
|
||||
tree-sitter-proto.workspace = true
|
||||
tree-sitter-purescript.workspace = true
|
||||
tree-sitter-python.workspace = true
|
||||
tree-sitter-racket.workspace = true
|
||||
tree-sitter-ruby.workspace = true
|
||||
|
@ -166,6 +165,9 @@ welcome.workspace = true
|
|||
workspace.workspace = true
|
||||
zed_actions.workspace = true
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
tree-sitter-purescript.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
call = { workspace = true, features = ["test-support"] }
|
||||
editor = { workspace = true, features = ["test-support"] }
|
||||
|
|
|
@ -106,7 +106,7 @@ pub fn init(
|
|||
("php", tree_sitter_php::language_php()),
|
||||
("prisma", tree_sitter_prisma_io::language()),
|
||||
("proto", tree_sitter_proto::language()),
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
#[cfg(not(any(target_os = "linux", target_os = "windows")))]
|
||||
("purescript", tree_sitter_purescript::language()),
|
||||
("python", tree_sitter_python::language()),
|
||||
("racket", tree_sitter_racket::language()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue