1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

Fix bazel for aarch64 (#320)

* Remove unused function

* Fix bazel build for aarch64
This commit is contained in:
Guillaume Chatelet
2023-08-28 13:14:27 +00:00
committed by GitHub
parent c5ece5e8cc
commit f8e3af9843
2 changed files with 18 additions and 6 deletions

View File

@ -129,8 +129,6 @@ TEST_F(CpuidAarch64Test, Aarch64FeaturesEnum) {
// OS dependent tests
#if defined(CPU_FEATURES_OS_LINUX)
void DisableHardwareCapabilities() { SetHardwareCapabilities(0, 0); }
TEST_F(CpuidAarch64Test, FromHardwareCap) {
ResetHwcaps();
SetHardwareCapabilities(AARCH64_HWCAP_FP | AARCH64_HWCAP_AES, 0);