From 0af14e1d51054c52e41d996e4e67534c2729ccdb Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 27 Jun 2018 13:12:32 +0200 Subject: [PATCH] Clarify that the entry point should be named _start, even on Windows and macOS --- .../second-edition/posts/02-minimal-rust-kernel/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md b/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md index f9ffe1fe..8ad2758c 100644 --- a/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md +++ b/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md @@ -218,6 +218,8 @@ pub extern "C" fn _start() -> ! { } ``` +Note that the entry point needs to be called `_start` regardless of your host OS. The Windows and macOS entry points from the previous post should be deleted. + We can now build the kernel for our new target by passing the name of the JSON file as `--target`: ```