-
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
No output library created when using workspaces #3432
Comments
Interesting! There was a change that tweaked how we managed the output directory structure, but I thought it didn't bring rlibs into place at all. Apparently it happens at least for non-workspace projects! I suspect there's an extraneous check somewhere that just needs to be updated now that workspaces are in play. |
I think I've hit this as well, but with a static lib output. It's clearly being built in deps (though with a bunch of numbers after the name of the library), it just never makes it to target/release or target/debug. Is b2ed772 expected to apply there? |
@steveatinfincia I believe so, indeed! |
I think the condition here was slightly off from before, so invert it subtly to get what we want, lifting up anything in a workspace or binaries otherwise. Closes rust-lang#3432
Lift up workspace rlibs while building I think the condition here was slightly off from before, so invert it subtly to get what we want, lifting up anything in a workspace or binaries otherwise. Closes #3432
Example Project (git repo):
Cargo.toml
:libs/foo/Cargo.toml
:src/lib.rs
andlibs/foo/src/lib.rs
are both empty.When I run
cargo build
, there is no outputrlib
intarget/debug
. It works if I remove theworkspace
from theCargo.toml
.cargo 0.16.0-nightly (ddb5c32 2016-12-16)
rustc 1.15.0-nightly (8f02c429a 2016-12-15)
The text was updated successfully, but these errors were encountered: