Skip to content

Commit

Permalink
Rewrite "A Freestanding Rust Binary" (#577)
Browse files Browse the repository at this point in the history
- solve linker errors by compiling for thumbv7em-none-eabihf
- make old section about linker arguments optional content
- use different linker arguments on Windows and macOS to use the `_start` entry point on all OSs
- Add an (optional) section that explains how to set linker arguments in .cargo/config
- Add an (optional) section that discourages the linker arguments approach and recommends the `#[start]` attribute instead
- reorganize section levels
  • Loading branch information
phil-opp authored Apr 11, 2019
1 parent 4c01a96 commit 0b9ca84
Showing 1 changed file with 216 additions and 88 deletions.
Loading

0 comments on commit 0b9ca84

Please sign in to comment.