-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
On my project wayland-client, I have a structure like this:
- protocols/
- wayland-client/
|- protocols/ (symlink -> ../protocols)
|- src/
|- Cargo.toml
With previous versions of cargo, publishing wayland-client worked as expected, packaging the contents of protocols
through the symlink as if it was a simple directory.
Now, since I updated to cargo 0.10.0, cargo publish
chokes on the protocols
symlink:
$ cargo publish --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
Packaging wayland-client v0.6.0 (file:///home/levans/dev/wayland-rs/wayland-client)
Archiving Cargo.toml
Archiving build.rs
Archiving examples/list_globals.rs
Archiving examples/simple_window.rs
Archiving protocols
error: failed to prepare local package for uploading
Caused by:
could not archive source file `protocols`
Caused by:
Is a directory (os error 21)
kornelski, jpeddicord, dsseng, ysimonson and thomwiggers