-
I am attempting to rewrite one of the [Bluetooth Espressif examples](https://github.com/espressif/esp-idf/blob/5b1189570025ba027f2ff6c2d91f6ffff3809cc2/examples/bluetooth/bluedroid/classic_bt/bt_hid_m…
-
Allowing Cryptol programs to reference external functions, written in other languages, could have several benefits:
1. It could allow users to write high-performance primitives to make the interpre…
atomb updated
2 years ago
-
I want to discuss **type signatures** for our C and C++ API functions in ICU4X. Please note that this is distinct from the general discussion of string encodings across the FFI boundary, which is dis…
-
Hi!
I am maintaining rust code that provides direct access to the linux syscalls. In a lot of scenarios the linux kernel uses `u64` for pointers to make sure 32bit/64bit mixed systems have a single…
-
In #1833 we're starting to establish a pattern for constructor signatures in Rust. I want to establish how that extends to FFI.
There are some constraints that apply to FFI but not Rust:
1. No t…
-
If you want to test this against sleef, let me know and I can try to set up the testing system using `sleef-sys`. I'm currently using `sleef-sys` in packed simd but would prefer to use a rust only lib…
-
I've gotten a `cargo-pio` PlatformIO-first project to build with the Arduino SDK for ESP32. It wasn't quite as straightforward as I initially thought, based on the boilerplate code for a new `cargo-pi…
-
Crash report: https://crash-stats.mozilla.org/report/index/855a5337-da38-4708-97c9-33d9e0211013
MOZ_CRASH Reason: ```Bug: next_index pointed at non-free list entry (or end of list)```
Top 10 frames …
-
I have the following binding code:
```rust
#[ffi_export]
pub fn my_push(vec: &mut ::safer_ffi::vec::Vec, item: ::safer_ffi::boxed::Box) {
let item: u8 = *item.into();
vec.with_rust_mut(…
-
Feature gate: `#![feature(io_safety)]`
This is a tracking issue for [RFC 3128: I/O Safety](https://github.com/rust-lang/rfcs/pull/3128).
Raw OS handles such as `RawFd` and `RawHandle` have hazar…