This repository contains the source code for the A Freestanding Rust Binary post of the Writing an OS in Rust series.
Check out the master branch for more information.
To build the project on Linux, run:
cargo rustc -- -Clink-arg=-nostartfiles
The entry point and the build command differ slightly on macOS and Windows. See the post for more information.
Please file an issue if you have any problems.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Note that this only applies to this git branch, other branches might be licensed differently.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.