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

Regression in v0.3.2045 #17681

Closed
levino opened this issue Jul 24, 2024 · 2 comments
Closed

Regression in v0.3.2045 #17681

levino opened this issue Jul 24, 2024 · 2 comments
Labels
C-bug Category: bug

Comments

@levino
Copy link

levino commented Jul 24, 2024

I am using rust-analyzer in vscode with the rust-analyzer.linkedProjects feature in the .vscode/settings.json. It used to work fine. With v0.3.2045 I get the "cannot find workspace" error again. I assume that this regression has to do with #17246. I downgraded to v0.3.2037 and everything works fine again.

Maybe the behaviour is expected. However I would expect a major release for such a breaking change. Also it would be nice to find some docs on how to configure the project via the rust-project.json, as I assume this is how one should configure things in the future.

Thank you for your time.

@levino levino added the C-bug Category: bug label Jul 24, 2024
@lnicola
Copy link
Member

lnicola commented Jul 24, 2024

Duplicate of #17664, there's a potential workaround there.

@lnicola lnicola closed this as completed Jul 24, 2024
@levino
Copy link
Author

levino commented Jul 24, 2024

The workaround is

"rust-analyzer.linkedProjects": [
-        "my-workspace/Cargo.toml",
+        "${workspaceFolder}/my-workspace/Cargo.toml",
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants