diff options
| author | bors <bors@rust-lang.org> | 2023-12-14 11:14:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-14 11:14:03 +0000 |
| commit | 1aa6aefdc92555b3fbc5ae4c99365df9845a3e31 (patch) | |
| tree | 6f484d11a31b271f1e06739754ba4159521da813 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 9d49eb76c47a139ef71da4ab56aa9aeca5f24913 (diff) | |
| parent | c0134887d2b4cbac421babcd40710cc9b755f931 (diff) | |
| download | rust-1aa6aefdc92555b3fbc5ae4c99365df9845a3e31.tar.gz rust-1aa6aefdc92555b3fbc5ae4c99365df9845a3e31.zip | |
Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkin
use c literals in compiler and library Relands refreshed https://github.com/rust-lang/rust/pull/111647
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 116108ae5a9..dfef2fbab56 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -8,6 +8,7 @@ #![feature(rustdoc_internals)] #![doc(rust_logo)] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] +#![cfg_attr(bootstrap, feature(c_str_literals))] #![feature(exact_size_is_empty)] #![feature(extern_types)] #![feature(hash_raw_entry)] |
