Hi all,
Consider this small FFI that currently works only on GNU/Linux.
https://github.com/zyrolasting/xiden/blob/libcrypto/crypto.rkt
https://github.com/zyrolasting/xiden/blob/libcrypto/crypto/crypto.c
`raco test` intermittently fails this module with "invalid memory reference.
Some debugging
Credit to @samth on the Discord for noticing that I did not use
`_bytes/nul-terminated` on Racket CS byte strings. Doing so fixed the issue.
Thanks, Sam!
On 6/2/21 10:21 AM, Sage Gerard wrote:
> Hi all,
>
> Consider this small FFI that currently works only on GNU/Linux.
>
>
2 matches
Mail list logo