On Fri, Apr 28, 2017 at 12:16:09PM +0200, Sebastien Marie wrote:
> Thanks for catching it edd@ !

No worries!

I've now managed to update rust and cargo. I think I've found a
regression in cargo here:

---8<---
wilfred> rm -rf ~/.cargo 
wilfred> cargo install --verbose rustfmt
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading rustfmt v0.8.3
  Installing rustfmt v0.8.3
 Downloading diff v0.1.10
 Downloading multimap v0.3.0
 Downloading toml v0.2.1
 Downloading rustc-serialize v0.3.24
 Downloading syntex_syntax v0.58.1
 Downloading unicode-segmentation v1.1.0
 Downloading log v0.3.7
 Downloading env_logger v0.4.2
 Downloading getopts v0.2.14
 Downloading term v0.4.5
 Downloading strings v0.0.1
 Downloading syntex_errors v0.58.1
 Downloading regex v0.2.1
 Downloading itertools v0.5.10
 Downloading syntex_pos v0.58.1
 Downloading bitflags v0.8.2
 Downloading unicode-xid v0.0.4
 Downloading libc v0.2.22
 Downloading regex-syntax v0.4.0
 Downloading thread_local v0.3.3
 Downloading utf8-ranges v1.0.0
 Downloading memchr v1.0.1
 Downloading aho-corasick v0.6.3
 Downloading unreachable v0.1.1
 Downloading void v1.0.2
 Downloading either v1.1.0
 Downloading walkdir v1.0.7
 Downloading same-file v0.1.3
 Downloading thread-id v3.0.0
error: failed to compile `rustfmt v0.8.3`, intermediate artifacts can be found 
at `/tmp/cargo-install.Z19N6YGnaln6`

Caused by:
  couldn't get the path to cargo executable

Caused by:
  no current exe available (short)
wilfred> which cargo
/usr/local/bin/cargo
wilfred> cargo -V
cargo 0.18.0
wilfred> rustc -V
rustc 1.17.0
--->8---

Something to do with the wrapper changes?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to