Skip to content

Fix rust-analyzer launcher for Windows paths - #4283

Open
PJB3005 wants to merge 1 commit into
bazelbuild:mainfrom
PJB3005:pjb-26-09-24-fix-rust-analyzer-launcher-for-windows-paths
Open

PJB3005 wants to merge 1 commit into
bazelbuild:mainfrom
PJB3005:pjb-26-09-24-fix-rust-analyzer-launcher-for-windows-paths

Conversation

@PJB3005

@PJB3005 PJB3005 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

The paths were being deserialized to an &str, not a String. This means that serde is unable to handle the \\ escape sequences from the Windows paths, resulting in a parsing failure.

@jrandolf

Copy link
Copy Markdown
Contributor

Can you use Cow?

The paths were being deserialized to an `&str`, not a `String`. This means that serde is unable to handle the `\\` escape sequences from the Windows paths, resulting in a parsing failure.
@PJB3005
PJB3005 force-pushed the pjb-26-09-24-fix-rust-analyzer-launcher-for-windows-paths branch from cde97d2 to eeebfb2 Compare September 24, 2026 23:24
@PJB3005

PJB3005 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Can you use Cow?

It seems I can, indeed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants