cargo や rustc 自体のバージョンのアップデート

rustup update だけ

hata published on
2 min, 290 words

Categories: programming

rust まだまだわからんなー。

$ rustup update
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: latest update on 2021-11-01, rust version 1.56.1 (59eed8a2a 2021-11-01)
info: downloading component 'rust-std' for 'x86_64-unknown-linux-gnu'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-std'
info: downloading component 'rustc'
 58.7 MiB /  58.7 MiB (100 %)  56.8 MiB/s in  1s ETA:  0s
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'x86_64-unknown-linux-gnu'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-std' for 'x86_64-unknown-linux-gnu'
 23.5 MiB /  23.5 MiB (100 %)  19.3 MiB/s in  1s ETA:  0s
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-std'
 21.6 MiB /  21.6 MiB (100 %)  19.4 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
 58.7 MiB /  58.7 MiB (100 %)  21.6 MiB/s in  2s ETA:  0s
info: installing component 'rustfmt'

  stable-aarch64-apple-darwin updated - rustc 1.56.1 (59eed8a2a 2021-11-01) (from rustc 1.53.0 (53cb7b09b 2021-06-17))

info: cleaning up downloads & tmp directorie

rustup target add x86_64-unknown-linux-gnu を以前にやっているからか、そこらへんのコンポーネントもアップデートされているみたい。

$ rustc --version
rustc 1.56.1 (59eed8a2a 2021-11-01)

$ cargo --version
cargo 1.56.0 (4ed5d137b 2021-10-04)

参考