all: remove c_str_literals feature
This commit is contained in:
parent
3791fb9a1e
commit
0c3c03b130
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,8 @@ impl Drop for VulkanInstance {
|
||||||
|
|
||||||
const REQUIRED_INSTANCE_EXTENSIONS: &[&CStr] = &[ExtDebugUtilsFn::name()];
|
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>;
|
pub type Extensions = AHashMap<CString, u32>;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#![feature(
|
#![feature(
|
||||||
c_variadic, // https://github.com/rust-lang/rust/issues/44930
|
c_variadic, // https://github.com/rust-lang/rust/issues/44930
|
||||||
thread_local, // https://github.com/rust-lang/rust/issues/29594
|
thread_local, // https://github.com/rust-lang/rust/issues/29594
|
||||||
c_str_literals, // https://github.com/rust-lang/rust/issues/105723
|
|
||||||
)]
|
)]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::len_zero,
|
clippy::len_zero,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue