mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
don't require nightly compiler from freestanding binary (#550)
This commit is contained in:
committed by
Philipp Oppermann
parent
09ed317023
commit
ea513af5ad
@@ -10,10 +10,10 @@ This repository contains the source code for the [A Freestanding Rust Binary][po
|
||||
|
||||
## Building
|
||||
|
||||
You need a nightly Rust compiler. To build the project on Linux, run:
|
||||
To build the project on Linux, run:
|
||||
|
||||
```
|
||||
cargo rustc -- -Z pre-link-arg=-nostartfiles
|
||||
cargo rustc -- -Clink-arg=-nostartfiles
|
||||
```
|
||||
|
||||
The entry point and the build command differ slightly on macOS and Windows. See the [post] for more information.
|
||||
|
||||
Reference in New Issue
Block a user