From 3856d18fdfd87de939210f5f5e028d8313692eca Mon Sep 17 00:00:00 2001 From: ahgamut <41098605+ahgamut@users.noreply.github.com> Date: Mon, 12 Sep 2022 17:39:34 +0530 Subject: [PATCH] update README with latest cosmo commit all examples work now --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0746c96..d921363 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ This repository contains a simple `Hello world!` example in the [Rust][rust] programming language, that builds with [Cosmopolitan Libc][cosmo]. Now it also includes all the example snippets I could scrape from [Rust By Example][rbe], -and it builds around 175 debug executables. +and it builds around 175 example programs, including those that use Rust's +`std::thread` and `std::sync::Arc`. -> Note: a few of the examples have been commented out. They will be added soon. +> `ripgrep` builds with Cosmopolitan Libc -- check it out +> [here](https://github.com/ahgamut/ripgrep/tree/cosmopolitan). To build this repo you need a recent version of `gcc` (9 or 10 ought to be @@ -33,8 +35,8 @@ unzip cosmopolitan.zip cd ../ ``` -For reference, I used the nightly version of `cosmopolitan.a` from June 26 2022, -which can be built from source if needed from [this commit][cosmo-nightly]. +For reference, I used the nightly version of `cosmopolitan.a` from September 12 +2022, which can be built from source if needed from [this commit][cosmo-nightly]. 2. Download the necessary host toolchain and source code for Rust: @@ -122,7 +124,7 @@ build command. [rust]: https://rust-lang.org [rbe]: https://doc.rust-lang.org/rust-by-example/ [cosmo]: https://github.com/jart/cosmopolitan -[cosmo-nightly]: https://github.com/jart/cosmopolitan/commit/893cc06fc2ca7f84bc2238566f29d10d32999725 +[cosmo-nightly]: https://github.com/jart/cosmopolitan/commit/b69f3d2488dbaf9dcc541e699f5b7c09fbf046e0 [amalg-download]: https://justine.lol/cosmopolitan/download.html [custom-target]: https://doc.rust-lang.org/rustc/targets/custom.html [custom-embed]: https://docs.rust-embedded.org/embedonomicon/custom-target.html