Coder Social home page Coder Social logo

Comments (5)

psteinroe avatar psteinroe commented on September 24, 2024 1

Hey @Nezteb, thanks for opening the issue. You are right, we are currently using two nightly features of rust and thereby require the nightly channel to be used. It seems like I forgot to update the Readme. Will do so later. For now, first install rustup. You can then install nightly rust with
rustup-init --default-toolchain nightly -y.

from postgres_lsp.

Nezteb avatar Nezteb commented on September 24, 2024

Reading more, I'm guessing this project requires the nightly Rust build for the time being and that's just how it is. Keyword is "guessing", hence why I'm not closing this issue yet. 😄

As for how to prevent newcomers from hitting this in the future, I did find docs about how to specify which Rust release channel to use for a project.

from postgres_lsp.

nicoabie avatar nicoabie commented on September 24, 2024

This is very interesting. I installed rustup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

I had no issues running the commands in the readme but if I try to run rustup-init says command not found

rustup is a command but not rustup-init

from postgres_lsp.

psteinroe avatar psteinroe commented on September 24, 2024

hey @nicoabie, can you check if cargo or rustc are available on your system? I have installed rustup with homebrew and it works fine - maybe you need some additional setup when installing it via curl.

from postgres_lsp.

nicoabie avatar nicoabie commented on September 24, 2024

I have both cargo and rustc.

The difference relies in that it seems you installed rustup with homebrew and I followed the instructions on the website
https://www.rust-lang.org/learn/get-started

The website does not tell you to use homebrew.

Probably the homebrew formula is old and has the deprecated rustup-init command

from postgres_lsp.

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.