forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core
David Mak cb39f61e79 core: Fix passing structure arguments to extern functions
All parameters with a structure type in extern functions are marked as
`byref` instead of `byval`, as most ABIs require the first several
arguments to be passed in registers before spilling into the stack.

`byval` breaks this contract by explicitly requiring all arguments to be
 passed in the stack, breaking interop with libraries written in other
 languages.
2023-09-28 15:02:35 +08:00
..
src core: Fix passing structure arguments to extern functions 2023-09-28 15:02:35 +08:00
Cargo.toml meta: Update to Rust Edition 2021 2023-09-15 10:25:50 +08:00
build.rs irrt: normalize end-of-line characters. Closes #231 2022-03-22 16:04:48 +08:00