Home
last modified time | relevance | path

Searched refs:cdylib (Results 1 – 5 of 5) sorted by relevance

/third_party/gn/src/gn/
Dninja_rust_binary_target_writer_unittest.cc1520 Target cdylib(setup.settings(), Label(SourceDir("//bar/"), "mylib")); in TEST_F() local
1521 cdylib.set_output_type(Target::SHARED_LIBRARY); in TEST_F()
1522 cdylib.visibility().SetPublic(); in TEST_F()
1524 cdylib.sources().push_back(barlib); in TEST_F()
1525 cdylib.source_types_used().Set(SourceFile::SOURCE_RS); in TEST_F()
1526 cdylib.rust_values().set_crate_type(RustValues::CRATE_CDYLIB); in TEST_F()
1527 cdylib.rust_values().set_crate_root(barlib); in TEST_F()
1528 cdylib.rust_values().crate_name() = "mylib"; in TEST_F()
1529 cdylib.SetToolchain(setup.toolchain()); in TEST_F()
1530 ASSERT_TRUE(cdylib.OnResolved(&err)); in TEST_F()
[all …]
Dninja_c_binary_target_writer_unittest.cc1854 Target cdylib(setup.settings(), Label(SourceDir("//sh/"), "mylib")); in TEST_F() local
1855 cdylib.set_output_type(Target::SHARED_LIBRARY); in TEST_F()
1856 cdylib.visibility().SetPublic(); in TEST_F()
1858 cdylib.sources().push_back(barlib); in TEST_F()
1859 cdylib.source_types_used().Set(SourceFile::SOURCE_RS); in TEST_F()
1860 cdylib.rust_values().set_crate_type(RustValues::CRATE_CDYLIB); in TEST_F()
1861 cdylib.rust_values().set_crate_root(barlib); in TEST_F()
1862 cdylib.rust_values().crate_name() = "mylib"; in TEST_F()
1863 cdylib.private_deps().push_back(LabelTargetPair(&rlib)); in TEST_F()
1864 cdylib.public_deps().push_back(LabelTargetPair(&rlib3)); in TEST_F()
[all …]
/third_party/rust/crates/regex/regex-capi/
DCargo.toml18 crate-type = ["staticlib", "cdylib", "rlib"]
/third_party/curl/docs/
DHYPER.md25 …TFLAGS="--cfg hyper_unstable_ffi" cargo rustc --features client,http1,http2,ffi --crate-type cdylib
/third_party/gn/docs/
Dreference.md5286 Options for this field are "cdylib", "staticlib", "proc-macro", and "dylib".