about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-02 18:12:45 +0200
committerGitHub <noreply@github.com>2023-06-02 18:12:45 +0200
commita3b639ce435f00df0db2c4729be4a205cbd7bb4d (patch)
tree247700fbcd3b1680ce35b5ae84418805899a9ccf /compiler/rustc_codegen_llvm/src/lib.rs
parent0939ec13d88dfafcbb7f25314bd0d2f1519bf0d5 (diff)
parent2f459f7f140307b5abbb7ea81440ed1843b490e7 (diff)
downloadrust-a3b639ce435f00df0db2c4729be4a205cbd7bb4d.tar.gz
rust-a3b639ce435f00df0db2c4729be4a205cbd7bb4d.zip
Rollup merge of #111647 - klensy:cstr, r=oli-obk
use c literals in compiler and library

Use c literals #108801 in compiler and library

currently blocked on:
* <strike>rustfmt: don't know how to format c literals</strike> nope, nightly one works.
* <strike>bootstrap</strike>

r? `@ghost`
`@rustbot` blocked
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs1
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 805843e5863..ff9909c720e 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -11,6 +11,7 @@
 #![feature(let_chains)]
 #![feature(never_type)]
 #![feature(impl_trait_in_assoc_type)]
+#![feature(c_str_literals)]
 #![recursion_limit = "256"]
 #![allow(rustc::potential_query_instability)]
 #![deny(rustc::untranslatable_diagnostic)]