compiler-builtins
Porting `compiler-rt` intrinsics to Rust (by rust-lang)
cargo-wasi
A lightweight Cargo subcommand to build Rust code for the `wasm32-wasi` target (by bytecodealliance)

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
compiler-builtins | cargo-wasi | |
---|---|---|
12 | 2 | |
389 | 446 | |
1.5% | 0.2% | |
9.2 | 3.3 | |
7 days ago | over 1 year ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compiler-builtins
Posts with mentions or reviews of compiler-builtins.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-01.
- Why do we need for an Undefined Behavior Annex to C++
-
Can I force rust to treat stdlib like other crates in terms of linkage?
I don't know which symbols are missing, haven't done anything on the llvm level. But I had the same problems creating a no-std no-libc application, if you add https://github.com/rust-lang/compiler-builtins as a dependency you should get all the symbols you need, std uses the same but if you want to use it outside of std you'll need nightly since it uses a lot a nightly features. It might apply to your case as well.
-
[Question] Need help with `avr-hal` for Arduino UNO
Ah, I see - you might be hitting https://github.com/rust-lang/compiler-builtins/issues/347.
-
Converting Integers to Floats Using Hyperfocus
There's a PR to the compiler-builtins crate which the rust implementation is based on.
-
rustc + avr = lovelove back again!
I'm glad to inform y'all that after a year, the infamous LLVM ERROR: Not supported instr bug¹ has been finally fixed and today's nightly can compile for AVR back again! 😎
- Hey Rustaceans! Got an easy question? Ask here (8/2022)!
- Porting Rust's Std to Rustix
-
Porting Rust's std to rustix
Then, some of the non-trivial things that are needed are already implemented and maintained in other crates, like memcpy and friends in compiler-builtins, all the math routines in libm and malloc in dlmalloc.
-
Rust for Embedded Development
3.Use scons to compile, if errors jumped on link up, find the solution on its official Github.
cargo-wasi
Posts with mentions or reviews of cargo-wasi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-18.
-
Rust + WASM + Typescript [+ React]
There are many options, but what worked best for me is compiling with cargo-wasi and loading the resulting Wasm file with browser_wasi_shim. Using wasm32-wasi instead of wasm32-unknown-unknown requires a bit more work (the communication with JS has to be set up manually), but gives the flexibility of having just a Wasm file that can be dropped in and loaded dynamically. (There's wit-bindgen for generating wrapping code according to an interface definition but I didn't have much success with it.)
-
#![no_std] with WASI is more complicated than I thought it would be
I use cargo-wasi to build it:
What are some alternatives?
When comparing compiler-builtins and cargo-wasi you can also consider the following projects:
rt-thread - RT-Thread is an open source IoT Real-Time Operating System (RTOS).
wee_alloc - The Wasm-Enabled, Elfin Allocator
libm - A port of MUSL's libm to Rust.
wasi-rs - Experimental WASI API bindings for Rust
browser_wasi_shim - A WASI shim for in the browser
rustix - Safe Rust bindings to POSIX-ish APIs
lol_alloc - Like wee_alloc, but smaller since I used skinnier letters in the name.
avr-device - Register access crate for AVR microcontrollers
WASI - WebAssembly System Interface
relibc - Mirror of https://gitlab.redox-os.org/redox-os/relibc
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
compiler-builtins vs rt-thread
cargo-wasi vs wee_alloc
compiler-builtins vs libm
cargo-wasi vs wasi-rs
compiler-builtins vs wee_alloc
cargo-wasi vs browser_wasi_shim
compiler-builtins vs rustix
cargo-wasi vs lol_alloc
compiler-builtins vs avr-device
cargo-wasi vs WASI
compiler-builtins vs relibc
cargo-wasi vs wasm-bindgen

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured