Browse Source

style(arch): add pub to suppress unused warnings

greatbridf 8 tháng trước cách đây
mục cha
commit
7ca12b658a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/src/x86_64/bootstrap.rs

+ 1 - 1
arch/src/x86_64/bootstrap.rs

@@ -343,7 +343,7 @@ global_asm!(
 );
 
 #[naked]
-unsafe extern "C" fn start_64bit() {
+pub unsafe extern "C" fn start_64bit() {
     naked_asm!(
         "mov $0x10, %ax",
         "mov %ax, %ds",