Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid dependencies build errors on Windows #7827

Conversation

kazatsuyu
Copy link
Contributor

@kazatsuyu kazatsuyu commented Feb 15, 2024

This is a compilation of fixes for errors that appeared in dependent crates in Windows.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 15, 2024
Cargo.toml Outdated
@@ -257,16 +257,16 @@ tree-sitter-ocaml = { git = "https://github.com/tree-sitter/tree-sitter-ocaml",
tree-sitter-php = "0.21.1"
tree-sitter-prisma-io = { git = "https://github.com/victorhqc/tree-sitter-prisma" }
tree-sitter-proto = { git = "https://github.com/rewinfrey/tree-sitter-proto", rev = "36d54f288aee112f13a67b550ad32634d0c2cb52" }
tree-sitter-purescript = { git = "https://github.com/ivanmoreau/tree-sitter-purescript", rev = "a37140f0c7034977b90faa73c94fcb8a5e45ed08" }
tree-sitter-purescript = { git = "https://github.com/kazatsuyu/tree-sitter-purescript", rev = "e21296ba922de592bd49365f6ada4deef6bbe9a5" }
Copy link
Contributor Author

@kazatsuyu kazatsuyu Feb 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not like to maintain this repository for the long term. However, tree-sitter will move to extensions, so if it is ok to keep this repository for the short term, I will remove the draft mark.
Since this repository is a fork of a fork of a fork, we should be able to use one of the upstreams in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since tree-sitter-purescript is already ignored on linux, I decided to remove it as a dependency once rather than blocking work for it.

@@ -38,6 +38,9 @@ smol.workspace = true
theme.workspace = true
util.workspace = true

[target.'cfg(windows)'.dependencies]
async-std = { version = "1.12.0", features = ["unstable"] }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

async-tar lacks this feature

@kazatsuyu kazatsuyu force-pushed the windows-avoid-dependency-build-error branch from 1b0c289 to 90f3101 Compare February 20, 2024 00:00
@kazatsuyu kazatsuyu marked this pull request as ready for review February 20, 2024 00:06
Copy link
Member

@mikayla-maki mikayla-maki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mikayla-maki mikayla-maki merged commit 0037f0b into zed-industries:main Feb 20, 2024
7 checks passed
@kazatsuyu kazatsuyu deleted the windows-avoid-dependency-build-error branch February 20, 2024 11:05
SomeoneToIgnore pushed a commit that referenced this pull request Feb 23, 2024
Relevant PRs:
- #7543
- #7827

Release Notes:

- Fixed build issues with PureScript on Windows and Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants