Skip to content

kpp/toy_rt

Repository files navigation

About

FOR LEARNING PURPOSES ONLY

This is a greatly simplified implementation of libcore with an implementation of arithmetic, pointer arithmetic, ? operator and rt to run Hello World on Linux x86-64.

Hello world

There are two hello worlds in this project: a freestanding and with a libcore. You can run them:

$ cd examples/hello_world
$ cargo run

or

$ rustc +nightly-2021-12-19 -C link-args=-nostartfiles freestanding_hello_world.rs
$ ./freestanding_hello_world

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published