]> git.lizzy.rs Git - rust.git/commitdiff
Deprecate std::os::haiku::raw
authorbstrie <865233+bstrie@users.noreply.github.com>
Tue, 16 Mar 2021 21:17:41 +0000 (17:17 -0400)
committerbstrie <865233+bstrie@users.noreply.github.com>
Tue, 16 Mar 2021 21:43:33 +0000 (17:43 -0400)
library/std/src/os/haiku/raw.rs

index 0d7e70b6b351d855ff98f4516582d4e12e3d22e7..48117d288ae4799258abe2d88096d2163c922ff5 100644 (file)
@@ -1,6 +1,13 @@
 //! Haiku-specific raw type definitions
 
 #![stable(feature = "raw_ext", since = "1.1.0")]
+#![rustc_deprecated(
+    since = "1.53.0",
+    reason = "these type aliases are no longer supported by \
+              the standard library, the `libc` crate on \
+              crates.io should be used instead for the correct \
+              definitions"
+)]
 #![allow(deprecated)]
 
 use crate::os::raw::c_long;