anminn-bhusal/Teruic ? reverse-engineered prompt

Reverse engineered prompt

Build me a small bare metal operating system in Rust that boots in 64 bit mode and runs in QEMU.

I want it to have a simple interactive shell, a few basic commands like listing files, reading and writing text, showing system info, uptime, and running simple scripts or programs. Please include an in memory file system that is safe to use and can store files while the system is running. I also want keyboard input and timer support so the shell feels usable.

Make it easy to build with Cargo and boot as a raw image, and keep it set up for nightly Rust with no standard library. If you need to check current docs for the boot process or Rust setup, go ahead and look them up online.

This is for learning, privacy focused tools, and general experimentation, so keep the code clean and understandable, and make sure it actually boots and shows something useful on screen.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab