Skip to content

Commit df08f56

Browse files
committed
Add comment for arm_shim in generate-windows-sys
1 parent f7f25b0 commit df08f56

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

library/std/src/sys/windows/c/windows_sys.rs

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

src/tools/generate-windows-sys/src/arm_shim.rs

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

0 commit comments

Comments
 (0)