refactor(vulkan-ffi): narrow audited unsafe boundary
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1240,7 +1240,7 @@ fn has_safety_comment(line: &str) -> bool {
|
|||||||
line.contains("SAFETY:")
|
line.contains("SAFETY:")
|
||||||
}
|
}
|
||||||
|
|
||||||
const AUDITED_UNSAFE_SOURCE_FILES: &[&str] = &["adapters/fparkan-render-vulkan/src/lib.rs"];
|
const AUDITED_UNSAFE_SOURCE_FILES: &[&str] = &["adapters/fparkan-render-vulkan/src/ffi.rs"];
|
||||||
|
|
||||||
fn is_audited_unsafe_source(path: &Path) -> bool {
|
fn is_audited_unsafe_source(path: &Path) -> bool {
|
||||||
let as_path = path.as_os_str().to_string_lossy();
|
let as_path = path.as_os_str().to_string_lossy();
|
||||||
|
|||||||
Reference in New Issue
Block a user