Closed rachitnigam closed 2 months ago
Does just cargo build
work in calyx-lsp
?
Because tree-sitter-calyx/src/parser.c
exists in the git tree. So not sure why it would be missing.
Yeah, that works fine
my theory is that cargo publish
runs the build.rs
script in a different context than normal. I think it runs from the root directory, rather than from the calyx-lsp
directory.
Figured this out. We need to explicitly include some extra files so that the .crate
file contains everything needed to build the binary.
When trying to
calyx-publish
, I get the error message:Is there a step to get the treesitter stuff @sgpthomas?