diff options
author | bors <bors@rust-lang.org> | 2021-10-16 01:12:15 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2021-10-16 01:12:15 +0000 |
commit | c500cbf58a3855bbaa051eaa3ba0a101ef789b8c (patch) | |
tree | 2375a37d109d389c72914f447afcc726fb803ac2 | |
parent | 47f6fec46424cc3aabaeac28ec38fce552f80944 (diff) | |
parent | 6924fee5617c96b88e3671cb251061fed82d4751 (diff) | |
download | rust-libc-c500cbf58a3855bbaa051eaa3ba0a101ef789b8c.tar.gz |
Auto merge of #2457 - devnexen:win32_deprecate_context, r=JohnTitor
windows deprecate CONTEXT and related types.
-rw-r--r-- | src/windows/msvc/x86_64/align.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/windows/msvc/x86_64/align.rs b/src/windows/msvc/x86_64/align.rs index b10e4f71b9..fde7b8f3e5 100644 --- a/src/windows/msvc/x86_64/align.rs +++ b/src/windows/msvc/x86_64/align.rs @@ -1,3 +1,4 @@ +#[allow(deprecated)] pub type XMM_SAVE_AREA32 = XSAVE_FORMAT; s_no_extra_traits! { @@ -40,12 +41,18 @@ cfg_if! { } s! { + #[doc(hidden)] + #[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to +remove it in a future release")] #[repr(align(16))] pub struct M128A { pub Low: ::c_ulonglong, pub High: ::c_longlong, } + #[doc(hidden)] + #[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to +remove it in a future release")] #[repr(align(16))] pub struct XSAVE_FORMAT { pub ControlWord: ::c_ushort, @@ -88,6 +95,9 @@ s! { pub Xmm15: M128A, } + #[doc(hidden)] + #[deprecated(since = "0.2.104", note = "use the `winapi` crate instead; we're going to +remove it in a future release")] #[repr(align(16))] pub struct CONTEXT { pub P1Home: u64, |