-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustpkg: Test multi-crate packages #7240
Comments
Sub-bug of #5677 |
triage bump |
I think this will more-or-less fall out of #7879, but I'm still leaving this open as a reminder to make a test case. |
It's actually not clear to me what the meaning is of a package with multiple crates, unless only one crate of each type (library or executable) is visible outside the package. So far, we've been assuming that a package ID unambiguously corresponds to a single crate. If different crates in the same package had different package IDs, they wouldn't be in the same package. I propose the following rules:
|
Finishing this is blocked on #9732 landing. |
We discussed this in the meeting today. The conclusion was that rustpkg won't include special support for packages that need to install multiple crates. In the cases where it's needed, it will be possible to do so via a package script ( |
I think it would be very disruptive to be able to install multiple crates via pkg.rs, but not be able to reliably use those crates from other crates handled by rustpkg (i.e. via the
|
I closed #8952 as a dup of this bug, but I want to make sure to address it: " @bjz pointed out the following example with glfw: https://gist.github.com/bjz/8aac0e5338f50b88e31c The repository contains several subdirectories under examples/, each containing a main.rs, but rustpkg only leaves one executable (named examples) under build/. It should be creating a subdirectory of build/ for each of the examples/ subdirectories. |
Closing rustpkg is deprecated |
Rollup of 3 pull requests Successful merges: - rust-lang#7235 (Fix another manual_unwrap_or deref FP) - rust-lang#7237 (Add the command to add upstream remote) - rust-lang#7239 (CI: update rustup before installing the toolchain on windows) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup changelog: rollup
No description provided.
The text was updated successfully, but these errors were encountered: