Re-enable PureScript on Linux and Windows (#8252)
Relevant PRs: - https://github.com/zed-industries/zed/pull/7543 - https://github.com/zed-industries/zed/pull/7827 Release Notes: - Fixed build issues with PureScript on Windows and Linux
This commit is contained in:
parent
71557f3eb3
commit
65318cb6ac
5 changed files with 5 additions and 12 deletions
|
@ -145,6 +145,7 @@ 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
|
||||
|
@ -167,9 +168,6 @@ 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,6 @@ pub fn init(
|
|||
("php", tree_sitter_php::language_php()),
|
||||
("prisma", tree_sitter_prisma_io::language()),
|
||||
("proto", tree_sitter_proto::language()),
|
||||
#[cfg(not(any(target_os = "linux", target_os = "windows")))]
|
||||
("purescript", tree_sitter_purescript::language()),
|
||||
("python", tree_sitter_python::language()),
|
||||
("racket", tree_sitter_racket::language()),
|
||||
|
@ -294,10 +293,6 @@ pub fn init(
|
|||
Arc::new(tailwind::TailwindLspAdapter::new(node_runtime.clone())),
|
||||
],
|
||||
);
|
||||
|
||||
// Produces a link error on linux due to duplicated `state_new` symbol
|
||||
// todo!(linux): Restore purescript
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
language(
|
||||
"purescript",
|
||||
vec![Arc::new(purescript::PurescriptLspAdapter::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue