about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-01-07 20:20:58 -0800
committerGitHub <noreply@github.com>2022-01-07 20:20:58 -0800
commit5cddd24daa8c4bc4c16f2c11115359a882e2bc50 (patch)
tree8aedb449769247175f8e34e8456ae5e5f1e71a17 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent81c515bf771ee872d9fc8871acfc797a5cae08fe (diff)
parent836addcbc4fa825e07c78c6feb7f6a0b776ed41a (diff)
downloadrust-5cddd24daa8c4bc4c16f2c11115359a882e2bc50.tar.gz
rust-5cddd24daa8c4bc4c16f2c11115359a882e2bc50.zip
Rollup merge of #92375 - wesleywiser:consolidate_debuginfo_msvc_check, r=michaelwoerister
Consolidate checking for msvc when generating debuginfo

If the target we're generating code for is msvc, then we do two main
things differently: we generate type names in a C++ style instead of a
Rust style and we generate debuginfo for enums differently.

I've refactored the code so that there is one function
(`cpp_like_debuginfo`) which determines if we should use the C++ style
of naming types and other debuginfo generation or the regular Rust one.

r? ``@michaelwoerister``

This PR is not urgent so please don't let it interrupt your holidays! 🎄 🎁
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions