File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: [push, pull_request]
44jobs :
55 checks :
66 name : Checks
7- runs-on : macos-10.15
7+ runs-on : [ macos-15, macos-14]
88 steps :
99 - uses : actions/checkout@v2
1010 - run : cargo check --examples --tests --all-targets
Original file line number Diff line number Diff line change 33#![ allow( improper_ctypes) ]
44// Comes from unit tests, don't care much
55#![ allow( deref_nullptr) ]
6- #![ allow( unaligned_references) ]
76
87include ! ( concat!( env!( "OUT_DIR" ) , "/bindings.rs" ) ) ;
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ pub type GPAddr = u64;
2626
2727bitflags:: bitflags! {
2828 /// Guest physical memory region permissions.
29- pub struct Memory : u32 {
30- const READ = sys :: HV_MEMORY_READ ;
31- const WRITE = sys :: HV_MEMORY_WRITE ;
32- const EXEC = sys :: HV_MEMORY_EXEC ;
29+ pub struct Memory : u64 {
30+ const READ = 1 << 0 ;
31+ const WRITE = 1 << 1 ;
32+ const EXEC = 1 << 2 ;
3333 }
3434}
3535
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.53 "
2+ channel = " stable "
33components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments