Lines Matching refs:rs
49 3. Create the **main.rs** file to call C interfaces through c_ffi using Rust. Note that insecure in…
97 sources = [ "main.rs" ]
101 crate_root = "main.rs"
114 1. In the Rust **lib.rs** file, add the C++ interfaces to be called in **mod ffi**, and add the int…
156 2. Include **lib.rs.h** (converted from **lib.rs** by the CXX tool) in C++ code.
160 #include "build/rust/tests/test_cxx/src/lib.rs.h"
175 …rlying rust_cxx calls the CXX tool to convert the **lib.rs** file into **lib.rs.h** and **lib.rs.c…
182 sources = [ "src/lib.rs" ]
186 sources = [ "src/lib.rs" ]
248 #include "src/main.rs.h"
319 3. In **ffi** of the **main.rs** file, use the macro **includes!** to import the header file **clie…
388 …ert **main.rs** into **lib.rs.h** and **lib.rs.cc**, which are used as the source code of **test_c…
394 sources = [ "src/main.rs" ]
412 sources = [ "src/main.rs" ]