rustc를 업데이트하는 방법
아래의 한 줄을 명령어로 실행하기만 하면 됩니다.
다음은 2023년 3월에 기록된 출력 예입니다. 현재 버전, 설치되는 구성 요소 및 메시지는 다를 수 있습니다. rustup 공식 문서에 따르면 다운로드는 HTTPS로 이루어지지만 다운로드 서명은 검증되지 않습니다. 이 예의 서명 검증 경고를 다운로드가 검증되었다는 뜻으로 받아들이지 마세요. 비슷한 경고가 나타나면 환경과 배포 서버 설정을 확인하세요. 최신 업데이트 방법은 rustup 공식 가이드를 참조하세요. 보안에 관한 자세한 내용은 rustup 보안 문서를 참조하세요.
출력 참고
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| rustup update
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
warning: Signature verification failed for 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
info: latest update on 2023-03-09, rust version 1.68.0 (2c8cc3432 2023-03-06)
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
63.9 MiB / 63.9 MiB (100 %) 37.5 MiB/s in 1s ETA: 0s
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
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-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
19.4 MiB / 19.4 MiB (100 %) 2.4 MiB/s in 6s ETA: 0s
info: installing component 'rust-std'
27.6 MiB / 27.6 MiB (100 %) 12.7 MiB/s in 2s ETA: 0s
info: installing component 'rustc'
63.9 MiB / 63.9 MiB (100 %) 13.8 MiB/s in 4s ETA: 0s
info: installing component 'rustfmt'
info: checking for self-updates
info: downloading self-update
stable-x86_64-pc-windows-msvc updated - rustc 1.68.0 (2c8cc3432 2023-03-06) (from rustc 1.64.0 (a55dd71d5 2022-09-19))
info: cleaning up downloads & tmp directories
|