On 04/16/2012 06:01 AM, Alexander Stavonin wrote:
Is it possible to include into the one crate as Rust as C code?
Yes it is possible. There's no explicit support for it but native
modules may refer to static libraries and it's relatively easy to link
arbitrary static libraries into a crate. r
On 12-04-16 06:01 AM, Alexander Stavonin wrote:
> Is it possible to include into the one crate as Rust as C code?
Rust can call C by declaring the C functions within a suitably named
rust native module. C can call rust only by rust passing C a pointer to
a 'crust' function.
Currently the rust com
Is it possible to include into the one crate as Rust as C code?
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev