External Publication
Visit Post

Hope to improve the error messages of cargo or rustup

Rust Internals [Unofficial] May 21, 2026
Source

When I was installing mdbook, the following error suddenly popped up:

\rustbook_zhcn-main> cargo install mdbook
error: process didn't exit successfully: rustc -vV (exit code: 1)
--- stderr
error: Missing manifest in toolchain '1.90-aarch64-pc-windows-msvc'

As someone not very familiar with the rust-lang toolchain architecture, I had no idea what happened. I asked AI and searched online, but all I got was content about how to configure the MSVC toolchain on Windows. But I had obviously already configured it, otherwise I wouldn't have successfully built and compiled other projects before. Later, I found it in the mirror list — 1.90-aarch64-pc-windows-msvc. It was under the rustup list, and I began to realize that perhaps during installation, the toolchain automatically executed rustup update, and coincidentally my device had network problems, causing 1.90-aarch64-pc-windows-msvc not to be installed properly.

Finally, I manually executed rustup update again:

info: downloading 6 components
        rustc installed                       68.52 MiB
        cargo installed                        9.25 MiB
     rust-std installed                       19.68 MiB
    rust-docs installed                       20.52 MiB
      rustfmt installed                        2.68 MiB
       clippy installed                        3.84 MiB
  stable-aarch64-pc-windows-msvc unchanged - rustc 1.95.0 (59807616e 2026-04-14)
    1.90-aarch64-pc-windows-msvc installed - rustc 1.90.0 (1159e78c4 2025-09-14)

I knew I had succeeded.

1.90-aarch64-pc-windows-msvc, this package name is very misleading, and the error message is not detailed enough. I hope Rust can improve them in the future. Thanks a lot.

Discussion in the ATmosphere

Loading comments...