This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new f7989bd1b fix(core): Only run size tests on 64bit platforms (#6078)
f7989bd1b is described below
commit f7989bd1b5731e5b78120311cc445f8b4d7269dc
Author: Andreas Schneider <[email protected]>
AuthorDate: Tue Apr 22 15:22:39 2025 +0200
fix(core): Only run size tests on 64bit platforms (#6078)
Fixes #6077
---
core/src/lib.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 1bce1d9e4..62bf1529b 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -154,6 +154,7 @@ mod tests {
///
/// We assert our public structs here to make sure we don't introduce
/// unexpected struct/enum size change.
+ #[cfg(target_pointer_width = "64")]
#[test]
fn assert_size() {
assert_eq!(16, size_of::<Operator>());