Re: rust: Crate Dependencies

2016-12-29 Thread ng0
David Craven writes: >> Same here for libc crate after the update, but I guess that's >> because cargo is currently packaged and used from the bootstrap >> rust, which is dated one version before the actual rustc you can >> use now, so 0.13.0 cargo and 0.14.0 rustc. > > I submitted some experimen

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
> Same here for libc crate after the update, but I guess that's > because cargo is currently packaged and used from the bootstrap > rust, which is dated one version before the actual rustc you can > use now, so 0.13.0 cargo and 0.14.0 rustc. I submitted some experimental patches to the ML which fi

Re: rust: Crate Dependencies

2016-12-29 Thread ng0
Danny Milosavljevic writes: > Hi David, > > On Thu, 29 Dec 2016 11:49:19 +0100 > David Craven wrote: > >> It matters very >> much which versions of rustc and cargo are used > > I used the versions in your v2 patch. I also tried ng0's update which didn't > improve things. Same here for libc cra

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
Hi Danny, > How does rustc find the (Rust) dependencies when building a package in > cargo-build-system? You should be able to override the default rust or cargo version by passing #:rustc or/and #:cargo as arguments to the build-system. See guix/build-system/cargo.scm. > I read that there are

Re: rust: Crate Dependencies

2016-12-29 Thread Danny Milosavljevic
Hi David, On Thu, 29 Dec 2016 11:49:19 +0100 David Craven wrote: > It matters very > much which versions of rustc and cargo are used I used the versions in your v2 patch. I also tried ng0's update which didn't improve things. How does rustc find the (Rust) dependencies when building a package

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
> What does the error message mean? How to fix it? Hard to tell from that description. Using the recursive importer is not supported - use at your own risk ;) There is a reason why it's not in master... While Makefiles and the C standard are defined, the rust language and the Cargo.toml files are

rust: Crate Dependencies

2016-12-28 Thread Danny Milosavljevic
Hi, I'm trying Rust out for a bit and for that I added some Crates. (using David's v2 patches as a base) Right now I'm stuck at rust-c-vec which I tried to add myself. I get: starting phase `unpack' c_vec-1.1.0/.travis.yml c_vec-1.1.0/Cargo.toml c_vec-1.1.0/LICENSE-APACHE c_vec-1.1.0/LICENSE-MI