Interfacing with Rust

Ruby The Roobster rubytheroobster at yandex.com
Fri Sep 30 00:18:42 UTC 2022


On Thursday, 29 September 2022 at 16:07:59 UTC, mw wrote:
> 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.

This isn't the issue.  I can't interface anything, period.


More information about the Digitalmars-d-learn mailing list