1
0
Fork 0
forked from wry/wry

all: remove c_str_literals feature

This commit is contained in:
Julian Orth 2024-02-22 21:50:00 +01:00
parent 3791fb9a1e
commit 0c3c03b130
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,8 @@ impl Drop for VulkanInstance {
const REQUIRED_INSTANCE_EXTENSIONS: &[&CStr] = &[ExtDebugUtilsFn::name()];
const VALIDATION_LAYER: &CStr = c"VK_LAYER_KHRONOS_validation";
const VALIDATION_LAYER: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_LAYER_KHRONOS_validation\0") };
pub type Extensions = AHashMap<CString, u32>;

View file

@ -1,7 +1,6 @@
#![feature(
c_variadic, // https://github.com/rust-lang/rust/issues/44930
thread_local, // https://github.com/rust-lang/rust/issues/29594
c_str_literals, // https://github.com/rust-lang/rust/issues/105723
)]
#![allow(
clippy::len_zero,