mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-16 07:54:55 -04:00
a68ec22053
Previously, rustdoc would unconditionally report the version that *rustc* was compiled with. That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source. Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.