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

Jacob Lifshay programmerjake at gmail.com
Wed Oct 31 03:51:16 GMT 2018


Rust should be updated with "rustup update". rustup should add its bin dir
to your PATH in .profile or .bashrc (icr which), where it has programs that
redirect cargo, rustc, etc. to the proper versions.

On Tue, Oct 30, 2018, 19:37 lkcl <lkcl at libre-riscv.org> wrote:

> 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.
>
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>


More information about the libre-riscv-dev mailing list