Skip to content

Commit

Permalink
WIP: bumping atomic crate is stuck on non-fieldless enums
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp committed Jul 27, 2024
1 parent 9191261 commit bd86f05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ edition = "2021"
[dependencies]
log = "0.4.14"
once_cell = "1.9.0"
atomic = "0.5.1"
cgmath = "0.18.0"
libc = "0.2.69"

atomic = "0.6.0"
bytemuck = { version = "1.13.1", features = ["derive"] }

# framebuffer
memmap2 = { version = "0.5.2", optional = true }
Expand Down
5 changes: 4 additions & 1 deletion examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ use std::sync::Mutex;
use std::thread::sleep;
use std::time::Duration;

#[derive(Copy, Clone, PartialEq)]
use bytemuck::NoUninit;

#[derive(Copy, Clone, PartialEq, NoUninit)]
#[repr(i64)]
enum DrawMode {
Draw(u32),
Erase(u32),
Expand Down

0 comments on commit bd86f05

Please sign in to comment.