Git Product home page Git Product logo

Comments (11)

HadrienG2 avatar HadrienG2 commented on May 7, 2024 1

As an extra sanity check, you may want to check if you are actually using the version of rustc from rustup, via which rustc.

from evcxr.

davidlattimore avatar davidlattimore commented on May 7, 2024

Thanks. It looks like a old version of cargo, which will mean an old version of rustc. In our previous email thread you said you'd upgraded, but perhaps at some point you've set the default to a specific version via rustup. Could you try having a play with rustup and see if you can get it so that cargo version reports 1.29.1?

from evcxr.

alanhkarp avatar alanhkarp commented on May 7, 2024

from evcxr.

dwijnand avatar dwijnand commented on May 7, 2024

See https://github.com/rust-lang-nursery/rustup.rs#override-precedence

Have a look at rustup show, and try:

  • rustup override unset to remove the override in the current directory
  • unsetting the RUSTUP_TOOLCHAIN env var
  • remove a local rust-toolchain file in your project

from evcxr.

davidlattimore avatar davidlattimore commented on May 7, 2024

Other things you might try:
rustup override list
(to see what overrides are active)
rustup show
(show installed toolchains including which is default)

from evcxr.

alanhkarp avatar alanhkarp commented on May 7, 2024

from evcxr.

alanhkarp avatar alanhkarp commented on May 7, 2024

from evcxr.

davidlattimore avatar davidlattimore commented on May 7, 2024

I'm not really familiar with how rustup switches versions. On Linux, at least for me, rustc and cargo are located in ~/.cargo/bin/. Perhaps uninstalling and reinstalling rustup is your best option at this point. Sorry I can't be of more help.

from evcxr.

alanhkarp avatar alanhkarp commented on May 7, 2024

from evcxr.

davidB avatar davidB commented on May 7, 2024

@davidlattimore can be closed ?

from evcxr.

alanhkarp avatar alanhkarp commented on May 7, 2024

from evcxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.