Home
last modified time | relevance | path

Searched refs:generate_header_and_cc (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/cxx/tests/
Dcxx_gen.rs3 use cxx_gen::{generate_header_and_cc, Opt};
19 let generated = generate_header_and_cc(source, &opt).unwrap(); in test_extern_c_function()
31 let generated = generate_header_and_cc(source, &opt).unwrap(); in test_impl_annotation()
/third_party/rust/crates/cxx/gen/lib/tests/
Dtest.rs18 let code = cxx_gen::generate_header_and_cc(rs, &opt).unwrap(); in test_positive()
27 assert!(cxx_gen::generate_header_and_cc(rs, &opt).is_err()) in test_negative()
/third_party/rust/crates/cxx/gen/lib/src/
Dlib.rs54 pub fn generate_header_and_cc(rust_source: TokenStream, opt: &Opt) -> Result<GeneratedCode, Error> { in generate_header_and_cc() function