about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2024-05-23 14:58:30 -0400
committerAugie Fackler <augie@google.com>2024-05-23 14:58:30 -0400
commitde8200c5a441079cfaadd383a8b6897155bfa2c6 (patch)
tree02bfba609bdfcc97f8e33bcc29ee1eb88e78a7f3 /compiler/rustc_codegen_gcc
parent03d5556ced2d8ce84b9f5da702ac755aa98f7603 (diff)
downloadrust-de8200c5a441079cfaadd383a8b6897155bfa2c6.tar.gz
rust-de8200c5a441079cfaadd383a8b6897155bfa2c6.zip
thinlto: only build summary file if needed
If we don't do this, some versions of LLVM (at least 17, experimentally)
will double-emit some error messages, which is how I noticed this. Given
that it seems to be costing some extra work, let's only request the
summary bitcode production if we'll actually bother writing it down,
otherwise skip it.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions