Skip to content

Commit

Permalink
remove unused file in ruxmusl
Browse files Browse the repository at this point in the history
  • Loading branch information
coolyjg committed Dec 21, 2023
1 parent 0c02935 commit 8ca90ad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 55 deletions.
4 changes: 2 additions & 2 deletions api/ruxfeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default = []
smp = ["ruxhal/smp", "ruxruntime/smp", "spinlock/smp"]

# Floating point/SIMD
fp_simd = ["ruxhal/fp_simd"]
fp_simd = ["ruxhal/fp_simd", "ruxfs/fp_simd"]

# Interrupts
irq = ["ruxhal/irq", "ruxruntime/irq", "ruxtask?/irq"]
Expand All @@ -27,7 +27,7 @@ irq = ["ruxhal/irq", "ruxruntime/irq", "ruxtask?/irq"]
rtc = ["ruxhal/rtc", "ruxruntime/rtc"]

# Memory
alloc = ["axalloc", "ruxruntime/alloc"]
alloc = ["axalloc", "ruxruntime/alloc", "ruxfs/alloc"]
alloc-tlsf = ["axalloc/tlsf"]
alloc-slab = ["axalloc/slab"]
alloc-buddy = ["axalloc/buddy"]
Expand Down
16 changes: 0 additions & 16 deletions ulib/ruxmusl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,4 @@ extern crate axlog;
extern crate alloc;

mod syscall;

#[cfg(feature = "net")]
mod net;
mod trap;

use core::ffi::c_int;

/// parse error number for `getaddr` and `freeaddr`
///
/// TODO: remove this
pub fn e(ret: c_int) -> c_int {
if ret < 0 {
-1
} else {
ret as _
}
}
37 changes: 0 additions & 37 deletions ulib/ruxmusl/src/net.rs

This file was deleted.

0 comments on commit 8ca90ad

Please sign in to comment.