about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-09 12:51:53 +0000
committerbors <bors@rust-lang.org>2022-02-09 12:51:53 +0000
commitb7cd0f786492aacf7426008cff48a25bc54b5f85 (patch)
tree0580c394873bcfe5923cfe8b6543545489c4fed5 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent1f0a96862ac9d4c6ca3e4bb500c8b9eac4d83049 (diff)
parenta1c261cd096c9c2ebfffa7049e29c06914784c04 (diff)
downloadrust-b7cd0f786492aacf7426008cff48a25bc54b5f85.tar.gz
rust-b7cd0f786492aacf7426008cff48a25bc54b5f85.zip
Auto merge of #93681 - Mark-Simulacrum:rlink-binary, r=davidtwco,bjorn3
Store rlink data in opaque binary format on disk

This removes one of the only uses of JSON decoding (to Rust structs) from the compiler, and fixes the FIXME comment. It's not clear to me what the reason for using JSON here originally was, and from what I can tell nothing outside of rustc expects to read the emitted information, so it seems like a reasonable step to move it to the metadata-encoding format (rustc_serialize::opaque).

Mostly intended as a FIXME fix, though potentially a stepping stone to dropping the support for Decodable to be used to decode JSON entirely (allowing for better/faster APIs on the Decoder trait).

cc #64191
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions