compiler-builtins
rustix
Our great sponsors
compiler-builtins | rustix | |
---|---|---|
12 | 15 | |
339 | 1,321 | |
2.7% | 4.3% | |
7.8 | 9.4 | |
7 days ago | 4 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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
- 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.
rustix
-
OpenBSD 7.5 Released
It would be great for Rust to have a Linux target that doesn't use libc, but from what I've read, not many people are interested in this.
Found this as well: https://github.com/sunfishcode/mustang
Some discussion here: https://github.com/bytecodealliance/rustix/issues/76
-
Rust criticism from a Rustacean
Without actually having looked into this, how does https://github.com/bytecodealliance/rustix fit into points 1 & 2?
-
Cargo build in debug taking longer than in release?
I find this github issue: https://github.com/bytecodealliance/rustix/issues/575
-
Integrating rustix on NuttX
Hi Rust experts, we are willing to integrate rustix on NuttX RTOS, the initial effort was done by rustix author: https://github.com/bytecodealliance/rustix/tree/nuttx but it hit the wall since we don't know the right way to integrate cargo with the old-school NuttX's Makefiles. Any help or suggestion is welcome. More about NuttX here: https://nuttx.apache.org and here: https://nuttx.apache.org/docs/latest/
-
Pgwm 0.3 a pure rust `no_std` no libc window manager.
Have you considered using rustix? It provides many of the facilities of std without using libc.
- NVIDIA Security Team: "What if we just stopped using C?" (This is not about Rust)
-
Will Rust drop dependency on libc and make direct system calls? when ? (Please don't mention no_std case)
rustix can make syscalls directly to Linux. There's a rustc fork that can use it to build std.
-
Can rust be entirely written in rust and drop C usage in its code base ?
The rustix project claims to use raw syscalls (and vDSO calls) on linux and provides more memory / type safety compared to the libc API.
-
memmapix: A pure Rust library for cross-platform memory mapped IO, which replace libc with rustix.
Hi, the reason is explained by the description of https://github.com/bytecodealliance/rustix.
-
What crates would you add to a "batteries-included" library for Rust?
Please consider rustix as an alternative to nix.
What are some alternatives?
rt-thread - RT-Thread is an open source IoT real-time operating system (RTOS).
liblinux - Linux system calls.
wee_alloc - The Wasm-Enabled, Elfin Allocator
relibc - Mirror of https://gitlab.redox-os.org/redox-os/relibc
clap-rs - A full featured, fast Command Line Argument Parser for Rust
libm - A port of MUSL's libm to Rust.
libc - Raw bindings to platform APIs for Rust
cargo-wasi - A lightweight Cargo subcommand to build Rust code for the `wasm32-wasi` target
mustang - Rust programs written entirely in Rust
avr-device - Register access crate for AVR microcontrollers
rust-brotli - Brotli compressor and decompressor written in rust that optionally avoids the stdlib