From 3be875c07fc7a88c4ff50fbeace2ca6fbfe149ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=98=D0=B0=D0=BD=20=D0=93=D0=B5=D0=BE?= =?UTF-8?q?=D1=80=D0=B3=D0=B8=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= Date: Sat, 18 May 2024 01:36:37 +0200 Subject: [PATCH] 'llvm-tools-preview' component is now named 'llvm-tools' https://github.com/rust-lang/rustup/pull/3578 --- src/intro/install.md | 2 +- src/intro/tooling.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intro/install.md b/src/intro/install.md index f8c4aa4e..81fbbbb7 100644 --- a/src/intro/install.md +++ b/src/intro/install.md @@ -60,7 +60,7 @@ rustup target add thumbv8m.main-none-eabihf ``` text cargo install cargo-binutils -rustup component add llvm-tools-preview +rustup component add llvm-tools ``` WINDOWS: prerequisite C++ Build Tools for Visual Studio 2019 is installed. https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16 ### `cargo-generate` diff --git a/src/intro/tooling.md b/src/intro/tooling.md index 68f3674c..96324493 100644 --- a/src/intro/tooling.md +++ b/src/intro/tooling.md @@ -43,7 +43,7 @@ binaries. The advantage of using these tools over GNU binutils is that (a) installing the LLVM tools is the same one-command installation (`rustup component add -llvm-tools-preview`) regardless of your OS and (b) tools like `objdump` support +llvm-tools`) regardless of your OS and (b) tools like `objdump` support all the architectures that `rustc` supports -- from ARM to x86_64 -- because they both share the same LLVM backend.