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.
- Host: GitHub
- URL: https://github.com/trevyn/compiler-rt-builtins
- Owner: trevyn
- Created: 2024-01-09T05:50:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T05:35:05.000Z (over 1 year ago)
- Last Synced: 2025-09-21T05:58:23.406Z (9 months ago)
- Topics: compiler-rt, wasm32-unknown-unknown
- Language: Rust
- Homepage: https://crates.io/crates/compiler-rt-builtins
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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?