dosubot[bot] commented on issue #7158:
URL: https://github.com/apache/opendal/issues/7158#issuecomment-3785145481

   <!-- Greeting -->
   Hi @cryptomilk! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
opendal team.
   
   <!-- Answer -->
   This test failure is a known issue caused by platform or toolchain 
differences—struct sizes can vary depending on compiler flags, Rust version, or 
ABI. Maintainers have recommended restricting the `assert_size` test to x64 
platforms using Rust's conditional compilation (`target_pointer_width`) since 
its main purpose is to catch unexpected size changes during development, not 
for end-user correctness. You can safely patch the test to only run on x64 or 
skip it during Fedora packaging. If you want to upstream a fix, consider 
submitting a PR that conditionally compiles the test for x64 only, which would 
help other packagers as well. More details and maintainer guidance are 
available [here](https://github.com/apache/opendal/issues/6077).
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/d8071ba1-3133-4c82-bb92-1da65db48363?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/997a2c5a-0c54-497b-989d-44651635dd36/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20test%20failure%20is%20a%20known%20issue%20caused%20by%20platform%20or%20toolchain%20differences%E2%80%94struct%20sizes%20can%20vary%20depending%20on%20compiler%20flags%2C%20Rust%20version%2C%20or%20ABI.%20Maintainers%20have%20recommended%20restricting%20the%20%60assert_size%60%20test%20to%20x64%20platforms%20using%20Rust%27s%20conditional%20compilation%20%28%60target_pointer_width%60%29%20since%20its%20main%20purpose%20is%20to%20catch%20unexpected%20size%20changes%20during%20development%2C%20not%20for%20end-user%20correctness.%20You%20can%20safely%20patch%20the%20test%20to%20only%20run%20on%20x64%20or%20skip%20it%20during%20Fedora%20packaging.%20If%20you%20want%20to%20upstream%20a%20fix%2C%20consider%20submitting%20a%20PR%20that%20conditiona
 
lly%20compiles%20the%20test%20for%20x64%20only%2C%20which%20would%20help%20other%20packagers%20as%20well.%20More%20details%20and%20maintainer%20guidance%20are%20available%20%5Bhere%5D%28https%3A//github.com/apache/opendal/issues/6077%29.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/opendal/issues/7158)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to