mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Clarify that the entry point should be named _start, even on Windows and macOS
This commit is contained in:
@@ -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`:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user