Using pre-2015 Rust
Rust Internals [Unofficial]
February 20, 2026
Tried it, it could not integrate with cargo well. I had to write a wrapper to translate -vV into --version verbose, and then cargo run had this error:
error: malformed output when learning about crate-type bin information
command was: `D:\study-coding\rust\use-pre-2015-rust\.\rustc_wrapper.cmd - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings`
--- stderr
error: Unrecognized option: 'print'.
So I tried running rustc directly rustc src/main.rs but it seems it only had the i686-pc-mingw32 target which linker I don't have:
D:\study-coding\rust\use-pre-2015-rust>rustc src/main.rs
error: could not exec the linker `gcc`: file not found (OS Error 2: 系统找不到指定的文件。
)
error: aborting due to previous error
I'll do it another day, I'll have to use the Linux VM, install MinGW, or find a msvc target toolchain.
Discussion in the ATmosphere