about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/lib.rs
diff options
context:
space:
mode:
authorDiggory Blake <diggsey@googlemail.com>2025-05-25 20:16:44 +0100
committerDiggory Blake <diggsey@googlemail.com>2025-05-26 23:29:26 +0100
commitfdb660e8514ad09ebd9a478516d66b924c839f55 (patch)
treeb87dff7e804402cd83d35eae4ff5d9ad79595ad9 /compiler/rustc_middle/src/lib.rs
parent88b3b520e852e01970c3f519339ba64ed3e7db6d (diff)
downloadrust-fdb660e8514ad09ebd9a478516d66b924c839f55.tar.gz
rust-fdb660e8514ad09ebd9a478516d66b924c839f55.zip
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.
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
-rw-r--r--compiler/rustc_middle/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs
index cb3fdd4d3f7..7135b8f04a2 100644
--- a/compiler/rustc_middle/src/lib.rs
+++ b/compiler/rustc_middle/src/lib.rs
@@ -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)]