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

gen_rust_project doesn't work with bzlmod #2615

Open
granaghan opened this issue Apr 11, 2024 · 1 comment
Open

gen_rust_project doesn't work with bzlmod #2615

granaghan opened this issue Apr 11, 2024 · 1 comment

Comments

@granaghan
Copy link
Contributor

granaghan commented Apr 11, 2024

"{workspace_name}/rust/private/rust_analyzer_detect_sysroot.rust_analyzer_toolchain.json"

The "~" added to modules causes a failure here when it looks for "rules_rust~/rust/private/rust_analyzer_detect_sysroot.rust_analyzer_toolchain.json" in runfiles. Hacking it up to remove the "~" seemed to fix it.

@dzbarsky
Copy link
Contributor

Fixing this depends on #2566. Hardcoding rules_rust is not correct in the face of repo remapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants