linux: temporarily disable purescript tree sitter

Link error:
  = note: /nix/store/idiaraknw071d20nlqp49s18gbvw4wa0-binutils-2.40/bin/ld: /x/Code/zed/target/x86_64-unknown-linux-gnu/debug/deps/libtree_sitter_haskell-7323f782ad886c6d.rlib(scanner.o): in function `state_new':
          /home/kvark/.cargo/git/checkouts/tree-sitter-haskell-74c278e7a2ef8d7d/cf98de2/src/scanner.c:218: multiple definition of `state_new'; /x/Code/zed/target/x86_64-unknown-linux-gnu/debug/deps/libtree_sitter_purescript-b0a95fb604a5817c.rlib(scanner.o):/home/kvark/.cargo/git/checkouts/tree-sitter-purescript-88dd3ec656c48026/a37140f/src/scanner.c:218: first defined here
This commit is contained in:
Dzmitry Malyshau 2024-02-04 15:59:07 -08:00
parent b13b5726c5
commit f92be4b817

View file

@ -280,6 +280,8 @@ pub fn init(
],
);
/// Produces a link error on linux due to duplicated `state_new` symbol
#[cfg(not(target_os = "linux"))]
language(
"purescript",
tree_sitter_purescript::language(),