-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.L-improper_ctypesLint: improper_ctypesLint: improper_ctypesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
The windows-rs crate is getting a whole bunch of spurious FFI-safe warnings:
error: `extern` block uses type `*mut CRYPT_PROVIDER_FUNCTIONS`, which is not FFI-safe
--> crates/libs/sys/src/Windows/Win32/Security/WinTrust/mod.rs:23:131
|
23 | ...ionid : *mut windows_sys::core::GUID, ppfns : *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation:: BOOL);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
|
= note: type is infinitely recursive
error: could not compile `windows-sys` (lib) due to 668 previous errors
See: https://github.com/microsoft/windows-rs/actions/runs/10997420795/job/30532923854?pr=3291
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.L-improper_ctypesLint: improper_ctypesLint: improper_ctypesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.