Lokathor/bytemuck

repr(C, align(...)) no longer working with bytemuck_derive 1.2.0

lassade opened this issue · 3 comments

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=cb57c04750b013fa16ae9b85c5fb8127

I'm currently using this as a workaround:

bytemuck = { version = "=1.10.0", features = ["derive"] }
bytemuck_derive = "=1.1.0" # necessary

This is a duplicate of an issue from earlier today: #127

I just haven't yet had a chance to publish.

@lassade could you try building your code with the main branch in the git repo and confirm that it's working for you?

Yes it did the trick!

New versions released,

  • bytemuck_derive-1.2.1
  • byremuck-1.12.1