소스 검색

style(arch): add pub to suppress unused warnings

greatbridf 8 달 전
부모
커밋
7ca12b658a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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",