-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
QUESTION: Using relative paths without blog_os workspace #234
Comments
Hmm, good question… The RFC says:
I don't think that this is a good default. A better default might be “all path dependencies below the workspace root”. I would recommend to open an issue at rust-lang/cargo. Possible workarounds (untested):
[workspace]
members = ["crate1", "crate2", "crate3"] |
Possible workaround number 1 does not work, I have tried it before opening this issue. Possible workaround number 2 works perfectly, thank you for finding this. |
Great!
Sounds like a bug to me. Did you open a cargo issue? |
@phil-opp The relavent issue is rust-lang/cargo#3156 if you did not get a notification from me opening it |
Hello, I am trying to work on crates that are used in blog_os such as multiboot2 which require me to use a relative path (or relative git repository). When I try to compile blog_os I get this error message:
Is there any way to have a dependancy as a relative path without having it in the blog_os workspace?
The text was updated successfully, but these errors were encountered: