rustup Questions

6

When I run rustup doc --book I get this: Access to the file was denied. The file at file:///home/ken/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html is not reada...
Brianna asked 3/5, 2019 at 0:48

3

Solved

Recently I got a new smartphone with fairly beefy specs, so wanting to play around with Rust on the go I installed Termux and tried to rustup-init. However, this fails: info: syncing channel update...
Mireyamiriam asked 9/9, 2017 at 9:37

5

Solved

rustup help toolchain lists the following sub-commands SUBCOMMANDS: list List installed toolchains install Install or update a given toolchain uninstall Uninstall a toolchain link Create a cus...
Savor asked 3/10, 2019 at 20:36

4

I have rustup+rust+cargo installed using the official installation script. How do I enable shell completions, to be able to type cargo <TAB> in the terminal and see the possible commands such...
Hogwash asked 14/7, 2022 at 16:17

2

Solved

I got this error when I override the rustup toolchain to use the rust-toolchain in the repo directory: error: the 'cargo' binary, normally provided by the 'cargo' component, is not applicable to th...
Aut asked 22/5, 2023 at 15:33

7

Solved

I installed rustup with brew command but still says that rustup command is not found. I am not sure if I am missing any installation step. Any help would be appreciated.
Gertrude asked 23/5, 2021 at 4:7

1

I was trying to install rust on Raspberrypi 4 using the recommended install script: pi@raspberrypi:/tmp $ curl https://sh.rustup.rs -sSf | sh But after reboot, cargo cannot be found: pi@raspberryp...
Toronto asked 18/4, 2021 at 12:16

2

Solved

I am trying to install rustup with clippy, but I am looking way of installing for all users. I installed rustup in /opt/setup. Whenever I switch users, I get this: error: no default toolchain co...
Recor asked 5/6, 2018 at 7:17

3

Solved

Windows 10 rustup 1.23.1 (3df2264a9 2020-11-30) default rustc 1.50.0 (cb75ad5db 2021-02-10) project rustc 1.52.0-nightly (4a8b6f708 2021-03-11) rocket = "0.4.4" I'm trying to build a ru...
Haerle asked 12/3, 2021 at 18:44

4

Solved

I installed Rust on my Ubuntu 16.04 machine through curl https://sh.rustup.rs -sSf | sh as can be seen on the Installation Page. How do I now uninstall Rust?
Velure asked 27/8, 2018 at 19:38

1

Solved

I am trying to understand the difference between rust nightly and the beta version. They both seem to be suitable for cases when one needs to use experimental features, but I can't really find the ...
Piccalilli asked 17/1, 2022 at 18:30

3

Solved

I tried to install Rust on Cygwin but failed to be able link with mingw. Now I am trying to install it with Msys2. I already installed Msys2 and Mingw. I tried to follow this wiki page but I got lo...
Aenneea asked 19/11, 2017 at 16:35

2

Solved

The Rustup documentation shows how to install Rust nightly, but not how to remove it. While the docs do show how to uninstall rustup entirely, I'd like to keep the stable branch. How can I uninstal...
Brotherson asked 19/2, 2017 at 2:5

1

Solved

When creating a new project with cargo new, I would like to have the Cargo.toml file automatically include a predefined authors field. The Rust book said: The next four lines set the configuration...
Mcardle asked 8/6, 2021 at 17:23

3

Solved

I understand that rustup installs the rustc and cargo binaries to ~/.cargo/bin, but where does it install the rustup executable to? As far as I can tell this isn't explained in any documentation an...
Garygarza asked 14/10, 2017 at 1:6

1

I am pretty new to Rust and currently reading Rust book on the official website. I am now looking into Rustup, which I think is very cool. I get that we can manage the version of rustc and cargo wi...
Zemstvo asked 18/12, 2020 at 0:59

1

Solved

I am writing rust macros and came across an error about my macro I can't understand. In hope of understanding it better, I tried to follow the compiler's advice by setting the -Z macro-backtrace un...
Filemon asked 29/7, 2020 at 8:32

2

Solved

In Rust, by default, files are placed in $HOME/.cargo and $HOME/.rustup. Is there any way to override these defaults? I am trying to debug an obscure issue and I want to try changing the file loca...
Enunciation asked 3/9, 2019 at 5:16

1

Solved

I've seen rustup be referred to as a "toolchain installer", but it's hard to find an exact definition of what Rust considers a "toolchain" to be and what the scope is for the concept. I already ha...
Humperdinck asked 16/6, 2020 at 20:52

4

Solved

I installed Rust using rustup, but when I try to enter a Rust command like cargo or rustc in my console, the following error appears: error: no default toolchain configured Is this a known issue? ...
Notecase asked 1/6, 2017 at 9:38

1

Solved

I am trying to install Rust which is failing with following error: info: syncing channel updates for 'stable-x86_64-pc-windows-msvc' info: latest update on 2019-02-28, rust version 1.33.0 (2aa4c46c...
Brandenbrandenburg asked 4/4, 2019 at 11:29

3

Solved

I've run rustup update to update my toolchain and saw two warnings: warning: tool `rustfmt` is already installed, remove it from `/Users/<username>/.cargo/bin`, then run `rustup update` to h...
Squelch asked 22/12, 2017 at 17:11

1

Solved

While doing a custom installation of Rust on Windows 10, I am asked "Default host triple?" I have no clue what this is, and the Rustup repository page, which came up in a web search, does not real...
Stocking asked 19/3, 2018 at 16:47

1

Solved

I just installed Rust with rustup on MacOS and noticed that there are two rustc and two cargo binaries: ~/.cargo/bin/rustc (cargo) ~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rustc (cargo)...
Scotia asked 30/1, 2017 at 23:24

1

Solved

Using Creating a basic webservice in Rust and Taking Rust everywhere with rustup as documentation, I have managed to successfully compile a 64 bit static binary with Rust: rustup target add x86_64...
Intyre asked 17/5, 2016 at 13:4

© 2022 - 2024 — McMap. All rights reserved.