Conversation
Apparently the latest release of `bytemuck` doesn't compile on some of the targets that it used to because it uses `Arc`. `Arc` is not a type that exists on every target, because not every targets supports atomics.
notgull
left a comment
There was a problem hiding this comment.
Correct me if I'm wrong, but wasn't target_has_atomic introduced in a Rust version after 1.34? This would break the MSRV.
|
The
|
|
That's accurate, the CI isn't that precise with the MSRV. Only the "basic" build sticks exactly to 1.34. Everything else is only tested on latest stable. I'd rather not create even more features for people to have to manage, if it's reasonable to just keep two features together. In the case of I'm inclined to accept this as is, unless @notgull you really think we should break it up? |
|
I'm fine with this! However, I do think that an MSRV for the alloc feature (and others) should be defined to prevent surprises. |
|
I agree, but I'm not sure I have the energy for that much CI fiddling |
|
Can we have a bugfix release for this? My CI blocks me otherwise xD |
|
Yeah, I had enough time to hit the button before the bus to work but can't sit down at a publish capable thing until some time later today. |
|
Ah no worries then :D |
|
1.12.3 should be available now |
|
Nice, everything works now 👍 |
Apparently the latest release of
bytemuckdoesn't compile on some of the targets that it used to because it usesArc.Arcis not a type that exists on every target, because not every target supports atomics.Error message with 1.12.2: