diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-02-25 00:16:47 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-03-01 00:30:40 -0500 |
| commit | be069a687a4e1c231b8ae8c68ac0444fa6fee249 (patch) | |
| tree | f661c9084748900a2d1d622e8abdd4d7fc55cd5e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 163b01aa140299ca5934031e5edf17cb23184941 (diff) | |
| download | rust-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
