mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-19 20:03:32 -04:00
回退 'Pull Request !3 : linux arm64编译sdk-third_party_rust_bitflags'
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user