Ignore manual_c_str_literals warning.

Due to https://github.com/rust-lang/rust-clippy/issues/13531, this
incorrectly applies here on nightly builds of clippy -- it should not,
since this project is on edition 2015 by default.
This commit is contained in:
Miriam Zimmerman 2024-10-10 11:33:41 -04:00 коммит произвёл Matthew Gregan
Родитель d9fd2fec7a
Коммит 3642fca704
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -2645,6 +2645,8 @@ impl ContextOps for AudioUnitContext {
}
fn backend_id(&mut self) -> &'static CStr {
// https://github.com/rust-lang/rust-clippy/issues/13531
#[allow(clippy::manual_c_str_literals)]
unsafe { CStr::from_ptr(b"audiounit-rust\0".as_ptr() as *const _) }
}
#[cfg(target_os = "ios")]