回退 'Pull Request !3 : linux arm64编译sdk-third_party_rust_bitflags'

This commit is contained in:
oh_ci
2025-03-11 02:16:52 +00:00
committed by Gitee
parent aeb1777847
commit 923ade8784
+3 -6
View File
@@ -13,18 +13,15 @@
import("//build/ohos.gni")
if (host_os != "linux" || host_cpu != "arm64") {
ohos_cargo_crate("lib") {
ohos_cargo_crate("lib") {
crate_name = "bitflags"
crate_type = "rlib"
crate_root = "src/lib.rs"
sources = [ "src/lib.rs" ]
sources = ["src/lib.rs"]
edition = "2018"
cargo_pkg_version = "1.3.2"
cargo_pkg_authors = "The Rust Project Developers"
cargo_pkg_name = "bitflags"
cargo_pkg_description =
"A macro to generate structures which behave like bitflags."
}
cargo_pkg_description = "A macro to generate structures which behave like bitflags."
}