summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-10-16 00:17:54 +0100
committerDavid Carlier <devnexen@gmail.com>2021-10-16 01:34:36 +0100
commit6924fee5617c96b88e3671cb251061fed82d4751 (patch)
tree88c70b226bcdbdfe3d37011b23b981f45d0646be
parentbc4d6d62bdf7098acea493b6a7691ce80a5ab596 (diff)
downloadrust-libc-6924fee5617c96b88e3671cb251061fed82d4751.tar.gz
windows deprecate CONTEXT and related types.
-rw-r--r--src/windows/msvc/x86_64/align.rs10
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,