Add comment for arm_shim in generate-windows-sys

This commit is contained in:
bdbai 2023-06-12 22:40:11 +08:00
parent f7f25b0e2f
commit df08f56b08
2 changed files with 6 additions and 0 deletions

View File

@ -4276,6 +4276,9 @@ impl ::core::clone::Clone for XSAVE_FORMAT {
}
}
// Begin of ARM32 shim
// The raw content of this file should be processed by `generate-windows-sys`
// to be merged with the generated binding. It is not supposed to be used as
// a normal Rust module.
cfg_if::cfg_if! {
if #[cfg(target_arch = "arm")] {
#[repr(C)]

View File

@ -1,4 +1,7 @@
// Begin of ARM32 shim
// The raw content of this file should be processed by `generate-windows-sys`
// to be merged with the generated binding. It is not supposed to be used as
// a normal Rust module.
cfg_if::cfg_if! {
if #[cfg(target_arch = "arm")] {
#[repr(C)]