Rua
Rua
- Fixes #742. Rather than running `cargo fmt`, this runs the `rustfmt` binary directly so that it can be used on individual files, and also when there are no build...
Currently, enums are translated as simple type aliases, with their variants translated as separate `const` values. This translation loses the connection between the variants and the enum they belong to....
```C int foo() { return 6 * 7; } ``` generates ```rust pub unsafe extern "C" fn foo() -> ::core::ffi::c_int { return 6 as ::core::ffi::c_int * 7 as ::core::ffi::c_int; }...
As mentioned in #1407, the following code is transpiled to broken Rust code in a static/global context: ```c char *static_char_ptr = (char[]) { "hello" }; ``` ```rust pub static mut...
A followup to discussion at #1341. Pinging people who have recently made Nix-related PRs: @Chobbes @RossSmyth Compilers (gcc, clang at least) are actually implemented on NixOS as a wrapper shell...
At the moment, the definitions in every header are listed at the top of each Rust source file. This leads to a lot of duplication of definitions. I propose using...
At the moment there is no way to get the info of a serial port other than enumerating all of them. Would it be possible to add the ability to...