about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-11-09 02:52:59 -0600
committerJoshua Nelson <jnelson@cloudflare.com>2022-11-09 02:54:51 -0600
commitade426fa83a4840a3940aee184e8b65ecfeeb6aa (patch)
tree2f5511927e99107d88a92edc4654423008b61535 /tests/codegen/src-hash-algorithm
parentb166ad0b1ebd65db9241da72e08308f87ce6e50f (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions