[libre-riscv-dev] SPIR-V parser completed except for tests

lkcl lkcl at libre-riscv.org
Wed Oct 31 02:36:22 GMT 2018


On Wed, Oct 31, 2018 at 12:52 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
>
> Discovered why:
> You're using an older version of Rust that can't deduce that those
> particular writeln calls can't fail (Rust crashes or panics on
> out-of-memory instead of reporting an error through Result::Err).
>
> It stops warning at rustc version 1.28.0

 $ dpkg -l | grep rust
 ii  rustc                                            1.28.0+dfsg1-2
                       amd64        Rust systems programming language

 hmmm... i wonder what's going on?

 ah!

 ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc -V
rustc 1.24.1 (d3ae9a9e0 2018-02-27)

so the debian version of rustc is not being used, the one there is.
hmm.... how do we upgrade it...

https://stackoverflow.com/questions/34484361/does-cargo-install-have-an-equivalent-update-command

hmmm... still doesn't work...

using rustup (have to apt-get remove rust cargo first)...

dang, have to symlink ln -s
/home/lkcl/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo
 ~/bin/cargo

... aaaand we're there.



More information about the libre-riscv-dev mailing list