sunfishcode / c-ward

An implementation of libc written in Rust
Other
188 stars 11 forks source link

Make use of `compiler_builtins` optional. #67

Closed sunfishcode closed 10 months ago

sunfishcode commented 10 months ago

compiler_builtins is a very special crate, that needs feature(rustc_private), that's installed along with rustc, and that appears to have some magic linking behavior, so in some situations it's desirable to avoid using it. Add an option to disable it, falling back to simple implementations.