An open API service indexing awesome lists of open source software.

https://github.com/trevyn/compiler-rt-builtins

The LLVM compiler-rt builtins source, conveniently packaged as a Rust crate.
https://github.com/trevyn/compiler-rt-builtins

compiler-rt wasm32-unknown-unknown

Last synced: 6 months ago
JSON representation

The LLVM compiler-rt builtins source, conveniently packaged as a Rust crate.

Awesome Lists containing this project

README

          

# compiler-rt-builtins

The LLVM compiler-rt builtins source, conveniently packaged as a Rust crate.

```toml
[dependencies]
compiler-rt-builtins = "0.1"
```

In your `build.rs`:

```rust
println!("cargo:rustc-link-lib=compiler-rt-builtins");
```

Created because when compiling C code to `wasm32-unknown-unknown`, some builtins are missing from Rust's `compiler_builtins`. Might have other uses too, who knows?