don't require nightly compiler from freestanding binary (#550)

This commit is contained in:
nivkner
2019-02-07 17:05:21 +02:00
committed by Philipp Oppermann
parent 09ed317023
commit ea513af5ad
4 changed files with 4 additions and 5 deletions

View File

@@ -27,4 +27,4 @@ cache:
- $HOME/.cargo - $HOME/.cargo
script: script:
- cargo rustc -- -Z pre-link-arg=-nostartfiles - cargo rustc -- -Clink-arg=-nostartfiles

View File

@@ -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.

View File

@@ -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'

View File

@@ -1 +0,0 @@
nightly