Comments (3)
@Phosra Out of curiosity, on what platforms would this be unsound?
Admittedly, such platform would likely be a Harvard architecture platform that doesn't implement POSIX - in practice... it's very unlikely to encounter such a platform, even less so for one with different sizes.
Although, it's possible to find maybe a Harvard embedded platform? How that could possibly affect FFI, I suppose it could be useful for interacting with native code after developing and running a new scripting language compiled as a bytecode, such as is done for JavaScript via XS, or Python via CircuitPython.
More realistically, although I cannot quite determine whether it's so, but a (future) CHERI Aarch64 Harvard, platform running an OS that doesn't implement POSIX could run into such an issue... still amusingly unlikely!
It's more of a "technical" issue. :)
from libffi-rs.
@Phosra Out of curiosity, on what platforms would this be unsound?
from libffi-rs.
Related Issues (20)
- libffi-sys refuses to build with gnu toolchain on Windows HOT 16
- Issue with nested structs HOT 7
- PowerPC builds are failing with a core dump HOT 1
- Fix the link to 'C libffi documentation' HOT 1
- `.code_ptr()` method unsound HOT 5
- libffi-sys-rs fails to build on OpenBSD amd64 HOT 5
- Outdated version of vendored `libffi` causes build error on macOS Big Sur with M1 processor HOT 1
- Unnecessary build dependency on autotools HOT 2
- `high` interface soundness HOT 19
- Get function pointer from high-level `FnPtrX` HOT 4
- Support libffi error status FFI_BAD_ARGTYPE
- Should low::CodePtr be repr(transparent)?
- `libffi-sys` fails to build on `riscv64gc-unknown-linux-gnu` HOT 2
- Support for creating closures that take bindgen generated types HOT 1
- unresolved import `crate::raw::ffi_type_longdouble` HOT 6
- How to safely use the middle API when the signature isn't known until runtime. HOT 3
- middle::Cif needs a variadic variation for its new function HOT 1
- Kernel `windows` not known to work with OS `gnu` HOT 4
- Structure argument data gets corrupted on cloning `libffi::middle::Cif` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libffi-rs.