From c91f8fd13d0293a0bda821023fba4cb366e74564 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Tue, 11 Mar 2025 02:17:31 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!501=20:?= =?UTF-8?q?=20linux=20arm64=E7=BC=96=E8=AF=91sdk-commonlibrary=5Fc=5Futils?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/BUILD.gn b/base/BUILD.gn index fd26200..494a358 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -210,7 +210,7 @@ ohos_shared_library("utils") { ########## modules for `c_utils` in rust ########## # rust compiler is not supportted on mac -if (host_os == "linux" && host_cpu != "arm64" && !is_arkui_x) { +if (host_os == "linux" && !is_arkui_x) { import("//build/templates/rust/rust_cxx.gni") # used for templates rust_cxx() rust_cxx("cxx_rust_gen") { sources = [ @@ -243,7 +243,7 @@ if (host_os == "linux" && host_cpu != "arm64" && !is_arkui_x) { } } -if (!is_arkui_x && !(host_os == "linux" && host_cpu == "arm64")) { +if (!is_arkui_x) { ohos_rust_shared_library("utils_rust") { if (host_os == "linux") { sources = [ -- Gitee