Cranelift: workaround for crash when loading .png files on arm64 #20798
wyvernbw
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
The last comments on the rustc_codegen_cranelift issue you mentioned says that bjorn3 could work on it, but a minimal reproducer would probably help them to test they are doing it right Bevy paths to this crate:
You could check with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This gave me quite a headache and i don't know if its a bevy issue specifically but if you're using cranelift on arm64 and trying to load a png file you might get a
the quick fix is to pin
crc32fast
to something smaller than 1.5 and make sure to not use the nightly feature.i tested
1.2
,1.3
,1.4
and they work.the
png
crate depends oncrc32fast
which is where this issue comes from, see rust-lang/rustc_codegen_cranelift#171should i open an issue in bevy?
Beta Was this translation helpful? Give feedback.
All reactions