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

Source::parse doesn't recognize sparse scheme? #2938

Closed
sthornington opened this issue Oct 15, 2024 · 1 comment · Fixed by #2950
Closed

Source::parse doesn't recognize sparse scheme? #2938

sthornington opened this issue Oct 15, 2024 · 1 comment · Fixed by #2950

Comments

@sthornington
Copy link
Contributor

Our github and local crate repository mirrors are using the sparse scheme, but I suspect that copy_project_with_explicit_deps_on_all_transitive_proc_macros is failing on this inside Source::parse:

Caused by:
    0: Failed to copy project with proc macro deps made direct
    1: Couldn't parse source "sparse+https://artifactory.london.quadraturecapital.com/artifactory/api/cargo/cargo-remote/index/": Didn't recognise scheme

Am I missing something about how this is supposed to work?

@sthornington
Copy link
Contributor Author

Will have a simple PR for this by Monday.

sthornington added a commit to sthornington/rules_rust that referenced this issue Oct 19, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 20, 2024
#2950)

Proc macro resolution wasn't working properly for sparse repos. This
fixes #2938.

---------

Co-authored-by: Daniel Wagner-Hall <[email protected]>
Co-authored-by: Daniel Wagner-Hall <[email protected]>
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 a pull request may close this issue.

1 participant