diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-11-09 02:52:59 -0600 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-11-09 02:54:51 -0600 |
| commit | ade426fa83a4840a3940aee184e8b65ecfeeb6aa (patch) | |
| tree | 2f5511927e99107d88a92edc4654423008b61535 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b166ad0b1ebd65db9241da72e08308f87ce6e50f (diff) | |
| download | rust-ade426fa83a4840a3940aee184e8b65ecfeeb6aa.tar.gz rust-ade426fa83a4840a3940aee184e8b65ecfeeb6aa.zip | |
Fix `rustdoc --version` when used with download-rustc
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
