mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
codegen: change $6d$ to $u6d$
This changes a mistake introduced in #61195 where the mangling workaround used was incorrect.
This commit is contained in:
@@ -440,7 +440,7 @@ fn write_str(&mut self, s: &str) -> fmt::Result {
|
||||
'-' | ':' => self.path.temp_buf.push('.'),
|
||||
|
||||
// Avoid crashing LLVM in certain (LTO-related) situations, see #60925.
|
||||
'm' if self.path.temp_buf.ends_with(".llv") => self.path.temp_buf.push_str("$6d$"),
|
||||
'm' if self.path.temp_buf.ends_with(".llv") => self.path.temp_buf.push_str("$u6d$"),
|
||||
|
||||
// These are legal symbols
|
||||
'a'..='z' | 'A'..='Z' | '0'..='9' | '_' | '.' | '$' => self.path.temp_buf.push(c),
|
||||
|
||||
Reference in New Issue
Block a user