-
Notifications
You must be signed in to change notification settings - Fork 787
Closed as not planned
Description
Currently ring directly uses only a single function from the Windows API:
ring/src/cpu/aarch64/windows.rs
Lines 16 to 18 in 6f6e654
| use windows_sys::Win32::System::Threading::{ | |
| IsProcessorFeaturePresent, PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE, | |
| }; |
The windows-sys crate is very large so depending on it for a single function is unfortunate. It also typically has a major release each year which means they'll often be multiple versions in a dependency tree.
An alternative to this is to use the windows-bindgen crate to generate the API definitions to a file in the src/ tree that can be committed and used like any other module. This generated code can then be audited as part of the ring crate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels