File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ on: [push, pull_request]
4
4
jobs :
5
5
checks :
6
6
name : Checks
7
- runs-on : macos-10.15
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : [macos-14, macos-15]
8
11
steps :
9
12
- uses : actions/checkout@v2
10
13
- run : cargo check --examples --tests --all-targets
Original file line number Diff line number Diff line change 3
3
#![ allow( improper_ctypes) ]
4
4
// Comes from unit tests, don't care much
5
5
#![ allow( deref_nullptr) ]
6
- #![ allow( unaligned_references) ]
7
6
8
7
include ! ( concat!( env!( "OUT_DIR" ) , "/bindings.rs" ) ) ;
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ pub type GPAddr = u64;
26
26
27
27
bitflags:: bitflags! {
28
28
/// 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 ;
33
33
}
34
34
}
35
35
Original file line number Diff line number Diff line change 1
1
[toolchain ]
2
- channel = " 1.53 "
2
+ channel = " stable "
3
3
components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments