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

Failed to discover workspace after upgrading to version v0.3.2045 #17746

Closed
spektom opened this issue Jul 30, 2024 · 3 comments
Closed

Failed to discover workspace after upgrading to version v0.3.2045 #17746

spektom opened this issue Jul 30, 2024 · 3 comments
Labels
C-bug Category: bug

Comments

@spektom
Copy link

spektom commented Jul 30, 2024

Workspace containing Rust projects doesn't load anymore after upgrading rust-analyzer to version v0.3.2045.

Version v0.3.2037 works just fine.

Workspace configuration has the following section defined:

{
    "rust-analyzer.linkedProjects": [
        "project1/src/Cargo.toml",
        "path/to/project2/Cargo.toml",
        "path/to/project3/Cargo.toml",
    ]
}

The error is:

[ERROR rust_analyzer::config] failed to find any projects in [AbsPathBuf("/home/michael/Dev/App1")]
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to discover workspace
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to discover workspace
@spektom spektom added the C-bug Category: bug label Jul 30, 2024
@lnicola
Copy link
Member

lnicola commented Jul 30, 2024

Can you try the workaround in #17664 (comment)?

@spektom
Copy link
Author

spektom commented Jul 30, 2024

Can you try the workaround in #17664 (comment)?

The workaround works. Thank you!

@lnicola
Copy link
Member

lnicola commented Jul 30, 2024

Duplicate of #17664.

@lnicola lnicola closed this as completed Jul 30, 2024
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