This is an automated email from the ASF dual-hosted git repository.

wayne pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new ce1a8fc6646 Add repr(C) to i256 (#5837)
ce1a8fc6646 is described below

commit ce1a8fc664620f127115601880c07ed7657fd2ca
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Mon Jun 3 14:46:10 2024 +0100

    Add repr(C) to i256 (#5837)
---
 arrow-buffer/src/bigint/mod.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arrow-buffer/src/bigint/mod.rs b/arrow-buffer/src/bigint/mod.rs
index c3296fed375..0bd51e162fc 100644
--- a/arrow-buffer/src/bigint/mod.rs
+++ b/arrow-buffer/src/bigint/mod.rs
@@ -54,6 +54,7 @@ enum DivRemError {
 /// A signed 256-bit integer
 #[allow(non_camel_case_types)]
 #[derive(Copy, Clone, Default, Eq, PartialEq, Hash)]
+#[repr(C)]
 pub struct i256 {
     low: u128,
     high: i128,

Reply via email to