File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
33- Identity-map GDT into kernel address space to fix ` iretq ` ([ #175 ] ( https://github.com/rust-osdev/bootloader/pull/175 ) )
44- Uefi: Look for an ACPI2 RSDP first ([ #174 ] ( https://github.com/rust-osdev/bootloader/pull/174 ) )
5+ - Don't check target architecture for builder crate to support cross-compiling ([ #176 ] ( https://github.com/rust-osdev/bootloader/pull/176 ) )
56
67# 0.10.5 – 2021-05-21
78
Original file line number Diff line number Diff line change @@ -95,13 +95,17 @@ pub mod binary;
9595#[ cfg( feature = "builder" ) ]
9696pub mod disk_image;
9797
98- #[ cfg( target_arch = "x86" ) ]
98+ #[ cfg( all ( target_arch = "x86" , not ( feature = "builder" ) ) ) ]
9999compile_error ! (
100100 "This crate currently does not support 32-bit protected mode. \
101101 See https://github.com/rust-osdev/bootloader/issues/70 for more information."
102102) ;
103103
104- #[ cfg( not( any( target_arch = "x86_64" , target_arch = "x86" ) ) ) ]
104+ #[ cfg( all(
105+ not( target_arch = "x86_64" ) ,
106+ not( target_arch = "x86" ) ,
107+ not( feature = "builder" )
108+ ) ) ]
105109compile_error ! ( "This crate only supports the x86_64 architecture." ) ;
106110
107111/// Defines the entry point function.
You can’t perform that action at this time.
0 commit comments