mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
e5ccc76bc4e32538f8b2cb5f6745f42ce50ac232
have to use ++ sigil in rust-side extern fn decls in order to have rust actually copy the struct, by value, onto the C stack. gotcha, indeed. also adding a helper method to verify/remind how to pass a struct by-val into C... check out the rust fn sig for rust_uv_ip4_test_verify_port_val() for more infos
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.
Languages
Rust
96%
Shell
1%
C
0.6%
JavaScript
0.6%
Python
0.4%
Other
1.1%