From 399d4446dbb95c4b41c32f46b1904d39e5d5faa6 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Tue, 11 Mar 2025 02:16:52 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!3=20:?= =?UTF-8?q?=20linux=20arm64=E7=BC=96=E8=AF=91sdk-third=5Fparty=5Frust=5Fbi?= =?UTF-8?q?tflags'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD.gn | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 5a53862..c48e621 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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." } -- Gitee