mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Fix grammar for freestanding-rust-binary (#834)
The grammar for MacOS linker arguments was clunky.
This commit is contained in:
@@ -403,7 +403,7 @@ macOS [does not officially support statically linked binaries] and requires prog
|
|||||||
cargo rustc -- -C link-args="-e __start -static"
|
cargo rustc -- -C link-args="-e __start -static"
|
||||||
```
|
```
|
||||||
|
|
||||||
This still not suffices, as a third linker error occurs:
|
This still does not suffice, as a third linker error occurs:
|
||||||
|
|
||||||
```
|
```
|
||||||
error: linking with `cc` failed: exit code: 1
|
error: linking with `cc` failed: exit code: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user