File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Original file line number Diff line number Diff line change 36
36
strategy :
37
37
fail-fast : false
38
38
matrix :
39
- os : [ubuntu-latest, macos-latest , windows-latest]
39
+ os : [ubuntu-latest, macos-12 , windows-latest, macos -latest]
40
40
runs-on : ${{ matrix.os }}
41
41
timeout-minutes : 30
42
42
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ mod version_info {
106
106
/// `#[link_section = ".bootloader-config"]`, which instructs the Rust compiler to store it
107
107
/// in a special section of the resulting ELF executable. From there, the bootloader will
108
108
/// automatically read it when loading the kernel.
109
+ #[ cfg( target_arch = "x86_64" ) ]
109
110
#[ macro_export]
110
111
macro_rules! entry_point {
111
112
( $path: path) => {
@@ -139,6 +140,7 @@ macro_rules! entry_point {
139
140
}
140
141
141
142
#[ doc( hidden) ]
143
+ #[ cfg( target_arch = "x86_64" ) ]
142
144
pub fn __force_use ( slice : & & [ u8 ; BootloaderConfig :: SERIALIZED_LEN ] ) {
143
145
let force_use = slice as * const _ as usize ;
144
146
unsafe { core:: arch:: asm!( "add {0}, 0" , in( reg) force_use, options( nomem, nostack) ) } ;
You can’t perform that action at this time.
0 commit comments