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:
authorWesley Wiser <wesleywiser@microsoft.com>2021-12-28 16:57:18 -0500
committerWesley Wiser <wesleywiser@microsoft.com>2022-01-07 12:36:09 -0500
commit836addcbc4fa825e07c78c6feb7f6a0b776ed41a (patch)
tree005f5ab019dcb18874ee3569433d3a24a47e1ddb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentf8abed9ed48bace6be0087bcd44ed534e239b8d8 (diff)
downloadrust-836addcbc4fa825e07c78c6feb7f6a0b776ed41a.tar.gz
rust-836addcbc4fa825e07c78c6feb7f6a0b776ed41a.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions