Building in Android
创建一个依赖于 libcxx
和 cc_library_static
的 rust_binary
。
rust_binary {
name: "cxx_test",
srcs: ["lib.rs"],
rustlibs: ["libcxx"],
static_libs: ["libcxx_test_cpp"],
}
创建一个依赖于 libcxx
和 cc_library_static
的 rust_binary
。
rust_binary {
name: "cxx_test",
srcs: ["lib.rs"],
rustlibs: ["libcxx"],
static_libs: ["libcxx_test_cpp"],
}