Interfacing with Rust

Imperatorn johan_forsberg_86 at hotmail.com
Fri Sep 30 06:25:33 UTC 2022


On Friday, 30 September 2022 at 00:18:42 UTC, Ruby The Roobster 
wrote:
> 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.

Show an example of exactly what you're trying to do. Maybe it's 
some detail


More information about the Digitalmars-d-learn mailing list