File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 31
31
run : |
32
32
rustup toolchain install ${{ matrix.rust }} --profile minimal
33
33
rustup default ${{ matrix.rust }}
34
- rustup component add llvm-tools-preview clippy rustfmt
34
+ rustup component add llvm-tools clippy rustfmt
35
35
echo "::add-matcher::.github/workflows/rust.json"
36
36
37
37
- name : Clippy
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ - The ` llvm-tools-preview ` component was renamed to ` llvm-tools `
11
+
10
12
### Changed
11
13
12
14
- MSRV Changed to 1.70.0
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ This project is developed and maintained by the [Embedded WG Tools team][team].
17
17
``` console
18
18
$ cargo install cargo-binutils
19
19
20
- $ rustup component add llvm-tools-preview
20
+ $ rustup component add llvm-tools
21
21
```
22
22
23
23
## Usage
@@ -35,7 +35,7 @@ $ $(find $(rustc --print sysroot) -name llvm-$tool) ${args[@]}
35
35
```
36
36
37
37
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
39
39
subcommands that will first build the project and then run the llvm tool on the
40
40
output artifact. This:
41
41
@@ -71,7 +71,7 @@ artifact be automatically passed to the LLVM tool. This mode only works when the
71
71
subcommand is used from within a Cargo project.
72
72
73
73
* 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
75
75
availability and the CLI of these tools -- i.e. the availability and CLI of
76
76
these tools may change as new Rust releases are made.
77
77
Original file line number Diff line number Diff line change @@ -65,7 +65,11 @@ impl Tool {
65
65
} ;
66
66
67
67
if !path. exists ( ) {
68
- eprintln ! ( "Could not find tool: {}\n at: {}\n Consider `rustup component add llvm-tools-preview`" , self . name( ) , path. to_string_lossy( ) ) ;
68
+ eprintln ! (
69
+ "Could not find tool: {}\n at: {}\n Consider `rustup component add llvm-tools`" ,
70
+ self . name( ) ,
71
+ path. to_string_lossy( )
72
+ ) ;
69
73
process:: exit ( 102 )
70
74
} ;
71
75
You can’t perform that action at this time.
0 commit comments