mandarin icon indicating copy to clipboard operation
mandarin copied to clipboard

MikanOS in Rust

Build Test on QEMU

Mandarin OS

a hobby OS for x86_64 based on MikanOS.

Prerequisites

  • qemu-system-x86_86
  • lld
  • cargo
  • cargo-make

Dependencies

Crates:

Nightly features:

  • asm
  • custom_test_frameworks
  • const_maybe_uninit_assume_init

Build image

$ cargo make build-disk

Run with QEMU

$ cargo make run      # release mode
$ cargo make run-dev  # dev mode

Debug with GDB

$ cargo make debug

and

$ cargo make gdb-attach

on another terminal.

Test on QEMU

$ cargo make test  # without display
$ cargo make test-console  # with display