Browse Source

clear app使用glibc

Signed-off-by: longjin <longjin@DragonOS.org>
longjin 1 week ago
parent
commit
201f9fc115
2 changed files with 3 additions and 3 deletions
  1. 2 2
      kernel/src/filesystem/mbr.rs
  2. 1 1
      user/apps/clear/Makefile

+ 2 - 2
kernel/src/filesystem/mbr.rs

@@ -4,7 +4,7 @@ use alloc::{
     sync::{Arc, Weak},
     vec::Vec,
 };
-use log::debug;
+
 use system_error::SystemError;
 
 use crate::{
@@ -106,7 +106,7 @@ impl MbrDiskPartionTable {
             table.dpte[i].starting_lba = cursor.read_u32()?;
             table.dpte[i].total_sectors = cursor.read_u32()?;
 
-            debug!("dpte[{i}] = {:?}", table.dpte[i]);
+            // debug!("dpte[{i}] = {:?}", table.dpte[i]);
         }
         table.bs_trailsig = cursor.read_u16()?;
         // debug!("bs_trailsig = {}", unsafe {

+ 1 - 1
user/apps/clear/Makefile

@@ -10,7 +10,7 @@ else
 endif
 
 ifeq ($(ARCH), x86_64)
-	export RUST_TARGET=x86_64-unknown-linux-musl
+	export RUST_TARGET=x86_64-unknown-linux-gnu
 else ifeq ($(ARCH), riscv64)
 	export RUST_TARGET=riscv64gc-unknown-linux-gnu
 else