Home
last modified time | relevance | path

Searched refs:test_rlib_crate (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-build-rust-compilation.md41 1. 创建build/rust/tests/test_rlib_crate/src/simple_printer.rs,如下所示:
61 2. 创建build/rust/tests/test_rlib_crate/src/main.rs,如下所示:
80 3. 配置gn脚本build/rust/tests/test_rlib_crate/BUILD.gn,如下所示:
85 ohos_rust_executable("test_rlib_crate") {
100 ![test_rlib_crate](./figures/test_rlib_crate.png)
158 test_rlib_crate::say_hello_from_crate();
259 crate_name = "test_rlib_crate"
311 | build/rust/tests/test_rlib_crate | 测试对静态库的编译和静态链接功能 …
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-rust-compilation.md42 1. Create **build/rust/tests/test_rlib_crate/src/simple_printer.rs**.
62 2. Create **build/rust/tests/test_rlib_crate/src/main.rs**.
81 3. Configure the GN build script **build/rust/tests/test_rlib_crate/BUILD.gn**.
86 ohos_rust_executable("test_rlib_crate") {
101 ![test_rlib_crate](./figures/test_rlib_crate.png)
160 test_rlib_crate::say_hello_from_crate();
261 crate_name = "test_rlib_crate"
313 | build/rust/tests/test_rlib_crate | Tests the build of a static library and static lin…
/ohos5.0/build/rust/tests/test_rlib_cargo_crate/crate/src/
H A Dmain.rs19 test_rlib_crate::say_hello_from_crate(); in main()
/ohos5.0/build/rust/tests/test_rlib_crate/
H A DBUILD.gn16 ohos_rust_executable("test_rlib_crate") {
/ohos5.0/build/rust/tests/test_rlib_cargo_crate/
H A DBUILD.gn17 crate_name = "test_rlib_crate"
/ohos5.0/build/rust/tests/
H A DBUILD.gn39 "//build/rust/tests/test_rlib_crate",
/ohos5.0/build/test/example/
H A Dtest_gn_template.py518 def test_rlib_crate(self): member in TestRustBuild