cty icon indicating copy to clipboard operation
cty copied to clipboard

Type aliases to C types like c_int for use with bindgen

Results 8 cty issues
Sort by recently updated
recently updated
newest added

I talked with @japaric on Discord, and we agreed on moving the `cty` crate into the `libc` repo. This should get it the same kind of testing as `libc`, and...

when set target to bpfel-unknown-none, cargo build will failed > ``` > error[E0432]: unresolved import `ad` > --> /home/sherlock/.cargo/registry/src/github.com-1ecc6299db9ec823/cty-0.2.2/src/lib.rs:13:9 > | > 13 | pub use ad::*; > | ^^...

For the avr-unknown-gnu-atmega328 platform (which is tier 3 currently), no ad and pwd modules are defined, resulting in errors like ``` error[E0432]: unresolved import `ad` --> /home/chrysn/.cargo/registry/src/github.com-1ecc6299db9ec823/cty-0.2.1/src/lib.rs:13:9 | 13 |...

When using `bindgen` to generate `bindings.rs` for Arduino libraries, we can not rely on the standard `ctypes_prefix()`. The most common replacement is `cty`, but cty fails to compile on the...

this is a commonly used type and it's the basis for implemeting vector io.

cc @retep998 > The VC CRT does not provide `ssize_t` and `libc` bases its `ssize_t` on `SSIZE_T` from Windows API. I'd really rather not have `ssize_t` declared a _truly_ universal...

I want to add loongarch64 support. This is a brief introduction to Loongarch ISA. You can get document from this[ link](https://loongson.github.io/LoongArch-Documentation/README-EN.html) . And some common FAQs from[ this](https://blog.xen0n.name/en/posts/tinkering/loongarch-faq/). thanks

With the release of Rust 1.64.0, all `c_*` types have moved from `std` into `core`[^0][^1], so they are now available in `no_std` contexts starting with this Rust version, as well....