Limit the size of cgu names when using the -Zhuman-readable-cgu-names option

Prior to this change, cgu names could be generated which would result in
filenames longer than the limit imposed by the OS.
This commit is contained in:
Diggory Blake
2025-05-25 20:16:44 +01:00
parent 88b3b520e8
commit fdb660e851
3 changed files with 31 additions and 6 deletions

View File

@@ -51,6 +51,7 @@
#![feature(negative_impls)]
#![feature(never_type)]
#![feature(ptr_alignment_type)]
#![feature(round_char_boundary)]
#![feature(rustc_attrs)]
#![feature(rustdoc_internals)]
#![feature(trusted_len)]