You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A surefire way to fix this would be to force a rebuild of the standard library (might require nightly) and define our own "target.json". We should do the latter anyway:
Apparently the RISC-V compilers don't support the codegen option for -mstrict-align. Instead there are options such as:
unaligned-scalar-mem - Has reasonably performant unaligned scalar loads and stores. (supported by rustc)
zicclsm - 'Zicclsm' (Main Memory Supports Misaligned Loads/Stores). (supported by LLVM but not rustc)
This leads me to believe that perhaps strict alignment is the RISC-V default. I guess @andstepan was right 😃
As per topic. I made #94 to try and address this but I couldn't quickly think of a way to prove or disprove if that actually works.
The text was updated successfully, but these errors were encountered: