Merge pull request #2975 from dtolnay/integer128

Deprecate serde_if_integer128 macro
This commit is contained in:
David Tolnay
2025-09-13 17:25:14 -07:00
committed by GitHub
+7 -2
View File
@@ -1,6 +1,11 @@
// No longer used. Old versions of serde used this macro for supporting targets
// that did not yet have 128-bit integer support.
#[macro_export]
#[deprecated = "
This macro has no effect on any version of Serde released in the past 2 years.
It was used long ago in crates that needed to support Rustc older than 1.26.0,
or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer
support. These days Serde requires a Rust compiler newer than that so 128-bit
integers are always supported.
"]
#[doc(hidden)]
macro_rules! serde_if_integer128 {
($($tt:tt)*) => {