mirror of
https://github.com/ahgamut/rust-ape-example.git
synced 2024-11-25 01:01:01 +00:00
update README
This commit is contained in:
parent
37faf13dec
commit
4e2d12b531
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -1,10 +1,16 @@
|
||||||
# Actually Portable Executables with Cosmopolitan Libc and Rust
|
# Actually Portable Executables with Cosmopolitan Libc and Rust
|
||||||
|
|
||||||
This repository contains a simple `Hello world!` example in the [Rust][rust]
|
This repository contains a simple `Hello world!` example in the [Rust][rust]
|
||||||
programming language, that builds with [Cosmopolitan Libc][cosmo]. To build it
|
programming language, that builds with [Cosmopolitan Libc][cosmo]. Now it also
|
||||||
you need a recent version of `gcc` (9 or 10 ought to be good), a recent version
|
includes all the example snippets I could scrape from [Rust By Example][rbe],
|
||||||
of `binutils` (`ld.bfd` and `objcopy`), and `bash` because I wrote a simple
|
and it builds around 175 debug executables.
|
||||||
filter script.
|
|
||||||
|
> Note: a few of the examples have been commented out. They will be added soon.
|
||||||
|
|
||||||
|
|
||||||
|
To build this repo you need a recent version of `gcc` (9 or 10 ought to be
|
||||||
|
good), a recent version of `binutils` (`ld.bfd` and `objcopy`), and `bash`
|
||||||
|
because I wrote a simple filter script.
|
||||||
|
|
||||||
I created a [custom compilation target][custom-target] for Rust, called
|
I created a [custom compilation target][custom-target] for Rust, called
|
||||||
`x86_64-unknown-linux-cosmo`, to provide a build process that uses the
|
`x86_64-unknown-linux-cosmo`, to provide a build process that uses the
|
||||||
|
|
Loading…
Reference in a new issue