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:

committed by
GitHub

parent
c5ece5e8cc
commit
f8e3af9843
@ -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);
|
||||
|
Reference in New Issue
Block a user