Thanks to visit codestin.com
Credit goes to lib.rs

9 releases

Uses new Rust 2024

0.3.0-preview.3 Mar 11, 2026
0.3.0-preview.2 Mar 6, 2026
0.2.2-preview.1 Feb 6, 2026

#5 in #rust-std

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

180 downloads per month
Used in 30 crates

GPL-3.0-or-later OR Apache-2… and maybe GPL-2.0-or-later

115KB
1.5K SLoC

The ArceOS Standard Library

The ArceOS Standard Library is a mini-std library, with an interface similar to rust [std], but calling the functions directly in ArceOS modules, instead of using libc and system calls.

These features are exactly the same as those in [axfeat], they are used to provide users with the selection of features in axfeat, without import [axfeat] additionally:

Cargo Features

  • CPU
    • smp: Enable SMP (symmetric multiprocessing) support.
    • fp-simd: Enable floating point and SIMD support.
  • Interrupts:
    • irq: Enable interrupt handling support.
  • Memory
    • alloc: Enable dynamic memory allocation.
    • alloc-tlsf: Use the TLSF allocator.
    • alloc-slab: Use the slab allocator.
    • alloc-buddy: Use the buddy system allocator.
    • paging: Enable page table manipulation.
    • tls: Enable thread-local storage.
  • Task management
    • multitask: Enable multi-threading support.
    • sched-fifo: Use the FIFO cooperative scheduler.
    • sched-rr: Use the Round-robin preemptive scheduler.
    • sched-cfs: Use the Completely Fair Scheduler (CFS) preemptive scheduler.
  • Upperlayer stacks
    • fs: Enable file system support.
    • net: Enable networking support.
    • dns: Enable DNS lookup support.
    • display: Enable graphics support.
  • Device drivers
    • bus-mmio: Use device tree to probe all MMIO devices.
    • bus-pci: Use PCI bus to probe all PCI devices.
    • driver-ramdisk: Use the RAM disk to emulate the block device.
    • driver-ixgbe: Enable the Intel 82599 10Gbit NIC driver.
    • driver-bcm2835-sdhci: Enable the BCM2835 SDHCI driver (Raspberry Pi SD card).

Dependencies

~8–15MB
~266K SLoC