about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-02-25 00:16:47 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-03-01 00:30:40 -0500
commitbe069a687a4e1c231b8ae8c68ac0444fa6fee249 (patch)
treef661c9084748900a2d1d622e8abdd4d7fc55cd5e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent163b01aa140299ca5934031e5edf17cb23184941 (diff)
downloadrust-be069a687a4e1c231b8ae8c68ac0444fa6fee249.tar.gz
rust-be069a687a4e1c231b8ae8c68ac0444fa6fee249.zip
Remove `krate.version`; fix `crate_version` in JSON
Previously, `JsonRenderer::after_krate` called `krate.version.clone()`.
The problem was it did that after the version was already moved into the
cache, so it would always be None. The fix was to get the version from
the cache instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions