-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Submodules with relative paths #7992
Labels
A-git
Area: anything dealing with git
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Comments
gliderkite
added
the
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
label
Mar 12, 2020
CaptainVincent
added a commit
to ParaState/pallet-ssvm
that referenced
this issue
May 26, 2020
CaptainVincent
added a commit
to ParaState/pallet-ssvm
that referenced
this issue
May 26, 2020
CaptainVincent
added a commit
to ParaState/pallet-ssvm
that referenced
this issue
May 26, 2020
SafariMonkey
added a commit
to SafariMonkey/reactphysics3d-sys
that referenced
this issue
Nov 24, 2021
Submodules with relative paths don't work rust-lang/cargo#7992
SafariMonkey
added a commit
to SafariMonkey/reactphysics3d-sys
that referenced
this issue
Nov 24, 2021
Submodules with relative paths don't work rust-lang/cargo#7992
5 tasks
n-prat
added a commit
to Interstellar-Network/lib-garble-rs
that referenced
this issue
Jan 4, 2023
Apparently cargo does not like relative ones rust-lang/cargo#7992 (Even with CARGO_NET_GIT_FETCH_WITH_CLI=true)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-git
Area: anything dealing with git
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
I have a crate
base
in a git repository hosted in GitLab that uses submodules, and none of this submodules are actually necessary tocargo build
the crate:Please nothe the use of a relative url, since GitLab requires it.
I also have another crate
super
that needs to havebase
as a dependency. Normally I'll add my dependency in theCargo.toml
ofsuper
with:Unfortunately this raises the following error when I run
cargo update
or try to build the project:I guess the problem is the relative path of the submodule, so as workaround for now I add to
super
a new submodule pointing tobase
and I specify its local path in theCargo.toml
:base
, is there a way to tellcargo
to skip fetching the submodules ofbase
?The text was updated successfully, but these errors were encountered: