From cf77d0b4fc23e0f3377b8cfe7908762b5c0cddbc Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sat, 25 Mar 2023 19:14:14 +0100 Subject: [PATCH] Add build instructions to README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 665ef388..97efe240 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ This repository contains the source code for the [Minimal Kernel][post] post of **Check out the [master branch](https://github.com/phil-opp/blog_os) for more information.** +## Building + +- Install the `x86_64-unknown-none` target using rustup: + ``` + rustup target add x86_64-unknown-none + ``` +- Build by running: + ``` + cargo build --target x86_64-unknown-none + ``` ## License