Skip to content

Commit 18c5fca

Browse files
committed
Component is now named 'llvm-tools'
1 parent 1427d28 commit 18c5fca

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
rustup toolchain install ${{ matrix.rust }} --profile minimal
3333
rustup default ${{ matrix.rust }}
34-
rustup component add llvm-tools-preview clippy rustfmt
34+
rustup component add llvm-tools clippy rustfmt
3535
echo "::add-matcher::.github/workflows/rust.json"
3636
3737
- name: Clippy

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- The `llvm-tools-preview` component was renamed to `llvm-tools`
11+
1012
### Changed
1113

1214
- MSRV Changed to 1.70.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This project is developed and maintained by the [Embedded WG Tools team][team].
1717
``` console
1818
$ cargo install cargo-binutils
1919

20-
$ rustup component add llvm-tools-preview
20+
$ rustup component add llvm-tools
2121
```
2222

2323
## Usage
@@ -35,7 +35,7 @@ $ $(find $(rustc --print sysroot) -name llvm-$tool) ${args[@]}
3535
```
3636

3737
Apart from these `rust-*` tools, which are direct proxies for the llvm tools in
38-
the `llvm-tools-preview` component, the crate also provides some Cargo
38+
the `llvm-tools` component, the crate also provides some Cargo
3939
subcommands that will first build the project and then run the llvm tool on the
4040
output artifact. This:
4141

@@ -71,7 +71,7 @@ artifact be automatically passed to the LLVM tool. This mode only works when the
7171
subcommand is used from within a Cargo project.
7272

7373
*Disclaimer* Note that `cargo-binutils` simply proxies the LLVM tools in the
74-
`llvm-tools-preview` component and the Rust project makes no guarantee about the
74+
`llvm-tools` component and the Rust project makes no guarantee about the
7575
availability and the CLI of these tools -- i.e. the availability and CLI of
7676
these tools may change as new Rust releases are made.
7777

src/tool.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ impl Tool {
6565
};
6666

6767
if !path.exists() {
68-
eprintln!("Could not find tool: {}\nat: {}\nConsider `rustup component add llvm-tools-preview`", self.name(), path.to_string_lossy());
68+
eprintln!(
69+
"Could not find tool: {}\nat: {}\nConsider `rustup component add llvm-tools`",
70+
self.name(),
71+
path.to_string_lossy()
72+
);
6973
process::exit(102)
7074
};
7175

0 commit comments

Comments
 (0)