Comment

Comment by superkuh

Indeed. curl | sh is literally the #1 recommended and most common way to install the rust development toolchain (because it changes too rapidly to effectively be in any repos). It's crazy that a language that prioritizes security so highly in it's design itself is only compiled through such insecure methods.

Ref: https://www.rust-lang.org/tools/install

    >Using rustup (Recommended)

    >It looks like you’re running macOS, Linux, or another Unix-like OS. To download Rustup and install Rust, run the following in your terminal, then follow the on-screen instructions. See "Other Installation Methods" if you are on Windows.

    >curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
parent superkuh 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton