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
@@ -27,4 +27,4 @@ cache:
|
|||||||
- $HOME/.cargo
|
- $HOME/.cargo
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo rustc -- -Z pre-link-arg=-nostartfiles
|
- cargo rustc -- -Clink-arg=-nostartfiles
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ This repository contains the source code for the [A Freestanding Rust Binary][po
|
|||||||
|
|
||||||
## Building
|
## 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.
|
The entry point and the build command differ slightly on macOS and Windows. See the [post] for more information.
|
||||||
|
|||||||
@@ -41,5 +41,5 @@ steps:
|
|||||||
displayName: 'Print Rust Version'
|
displayName: 'Print Rust Version'
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
||||||
- script: cargo rustc -- -Z pre-link-arg=-nostartfiles
|
- script: cargo rustc -- -Clink-arg=-nostartfiles
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
nightly
|
|
||||||
Reference in New Issue
Block a user