-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.4.19
breaks build for target thumbv4t-none-eabi
#567
Comments
Thanks for the report @Anders429. It’s possible this is just a bug after I needed to apply my clumsy |
I do think you should probably use the |
Looks like the old I'm not entirely sure on the atomic story for this target. Should I'm definitely fine with just using the |
Ok, it looks like this was intentional, and we were incorrectly enabling the atomic versions on |
I've updated our release notes and will leave this issue open for a while for others using affected targets. |
Great, thanks for the quick response! |
Same issue with
Which should be enough to safely update the max log level, no? |
@guncha I think It seems like there might be ongoing work in Rust to enable atomics for RISCV but I’m not across it myself. Maybe rust-lang/rust#98333 is relevant? |
This issue has been open for a few months and we've just queued up an |
I have a library,
mgba_log
, which provides a logging implementation for use in Game Boy Advance development, building for the targetthumbv4t-none-eabi
. Back on version0.4.18
, I was usingset_logger()
andset_max_level()
, which seemed to work fine when compiling for this target. However, with version0.4.19
, the project no longer compiles, with the following error messages:You can see these error messages on my CI run, which is what brought my attention to it initially.
Is this an intentional breakage? The documentation for
set_logger()
mentions a lack of availability forthumbv6
targets, but says nothing aboutthumbv4
targets. I also checked the changelog and didn't see anything calling this out specifically. Of course,thumbv4t-none-eabi
is a tier 3 target, so perhaps it is not guaranteed by this crate anyway (which is totally understandable)?I assume this is related to the change in #555. For this target, should I just be using the "racy" versions of these functions anyway (meaning it was an error at the non-racy versions worked at all before)?
The text was updated successfully, but these errors were encountered: