]> git.proxmox.com Git - cargo.git/commit - src/cargo/sources/path.rs
Correctly set up paths when packaging
authorAlex Crichton <alex@alexcrichton.com>
Thu, 5 Mar 2015 23:29:05 +0000 (15:29 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 6 Mar 2015 18:29:20 +0000 (10:29 -0800)
commit3bac6e0694cf03e9e44acbf28ed516928cf85f89
treeb8dd158521106296ab9711d77eb3ebd27168997e
parentcc6e2c644897e9a341cd74848e098766e32d0e32
Correctly set up paths when packaging

A synthetic "Package" is being created as part of this step but its paths were
pointing at the original root, not the unpacked tarball for testing. This meant
that some assumptions about the relative-ness of paths didn't quite end up
working out.

Closes #1382
src/cargo/ops/cargo_package.rs
src/cargo/sources/path.rs
src/cargo/util/to_semver.rs