diff --git a/devel/jujutsu/files/patch-cargo-crates_serde__bser-0.4.0_src_ser_mod.rs b/devel/jujutsu/files/patch-cargo-crates_serde__bser-0.4.0_src_ser_mod.rs new file mode 100644 index 000000000000..f6c32b1fa564 --- /dev/null +++ b/devel/jujutsu/files/patch-cargo-crates_serde__bser-0.4.0_src_ser_mod.rs @@ -0,0 +1,38 @@ +--- cargo-crates/serde_bser-0.4.0/src/ser/mod.rs.orig 2024-07-30 20:40:15 UTC ++++ cargo-crates/serde_bser-0.4.0/src/ser/mod.rs +@@ -133,7 +133,7 @@ where + #[cfg(target_endian = "little")] + self.scratch.put_i16_le(v); + #[cfg(target_endian = "big")] +- self.scratch.put_i16_be(v); ++ self.scratch.put_i16(v); + } + + #[inline] +@@ -143,7 +143,7 @@ where + #[cfg(target_endian = "little")] + self.scratch.put_i32_le(v); + #[cfg(target_endian = "big")] +- self.scratch.put_i32_be(v); ++ self.scratch.put_i32(v); + } + + #[inline] +@@ -153,7 +153,7 @@ where + #[cfg(target_endian = "little")] + self.scratch.put_i64_le(v); + #[cfg(target_endian = "big")] +- self.scratch.put_i64_be(v); ++ self.scratch.put_i64(v); + } + } + +@@ -255,7 +255,7 @@ where + #[cfg(target_endian = "little")] + self.scratch.put_f64_le(v); + #[cfg(target_endian = "big")] +- self.scratch.put_f64_be(v); ++ self.scratch.put_f64(v); + Ok(()) + } +