Stephen Touset

Results 91 comments of Stephen Touset

Reading back through the history, it looks like different operating systems have different requirements for linking. For Windows, you need Administrator privileges to symlink. Other operating systems like Android don't...

That's correct, it's a no-self-update binary. ``` ❯ rustup self update error: self-update is disabled for this build of rustup error: you should probably use your system package manager to...

Well, or it should just provide the `rustup-init` parts and install `rustup` normally, allowing self-updating.

Looks like the bug is still in `rustup` here. Homebrew just drops the upstream `rustup-init` binary into the user's `PATH` and expects the user to invoke it. Ideally `rustup` would...

Frankly I think that's misstating the situation a little bit. Nothing is "manually fiddling with stuff installed by rustup". The short form of this is that if you invoke `rustup-init`...

Here's an example: ```sh ❯ mkdir tmp; cd tmp ~/tmp ❯ curl -sL https://github.com/rust-lang/rustup/archive/refs/tags/1.24.3.tar.gz | tar -xz ~/tmp ❯ cd rustup-1.24.3; cargo build --release; cd .. Compiling libc v0.2.93 Compiling...

A combination of nonce and timestamp is probably a good idea. If you're assuming Rails, you could use `Rails.cache` to store each seen nonce.

Alternatively, anyhow and thiserror.

error-chain was replaced with thiserror. Next is replacing failure with anyhow.