Interfacing with Rust

mw mingwu at gmail.com
Thu Sep 29 16:07:59 UTC 2022


On Thursday, 29 September 2022 at 16:02:43 UTC, Ruby The Roobster 
wrote:
> Is there any way one can interface with Rust, such as with a 
> struct, or a function?
>
> I know that rust has an extern keyword, but I can't get it to 
> work.

https://code.dlang.org/packages/rust_interop_d


Read the notes on memory management:

Only pass pointers as u64 as value type.




More information about the Digitalmars-d-learn mailing list