aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-03-21 20:36:45 -0700
committerJack O'Connor <[email protected]>2025-03-21 20:45:21 -0700
commit83a60d9da6a44b719e258926e568c203d3b4dd36 (patch)
treede08cfa775a50b861631471b0bf319aedd7b4678
parent657c312945eb611ee149b9e331d8db93cad95c58 (diff)
macOS-latest runners are now ARM CPUs
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--benches/bench.rs8
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7c8b257..fcb7c88 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
matrix:
target: [
{ "os": "ubuntu-latest", "toolchain": "x86_64-unknown-linux-gnu", "name": "Linux GNU" },
- { "os": "macOS-latest", "toolchain": "x86_64-apple-darwin", "name": "macOS" },
+ { "os": "macOS-latest", "toolchain": "aarch64-apple-darwin", "name": "macOS" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-msvc", "name": "Windows MSVC" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-gnu", "name": "Windows GNU" }
]
@@ -166,7 +166,7 @@ jobs:
matrix:
target: [
{ "os": "ubuntu-latest", "toolchain": "x86_64-unknown-linux-gnu", "name": "Linux GNU" },
- { "os": "macOS-latest", "toolchain": "x86_64-apple-darwin", "name": "macOS" },
+ { "os": "macOS-latest", "toolchain": "aarch64-apple-darwin", "name": "macOS" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-msvc", "name": "Windows MSVC" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-gnu", "name": "Windows GNU" }
]
diff --git a/benches/bench.rs b/benches/bench.rs
index 94c4bb2..defdb12 100644
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -144,13 +144,13 @@ fn bench_many_chunks_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_chunks_neon(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_chunks_wasm(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::wasm32_simd().unwrap());
}
@@ -215,13 +215,13 @@ fn bench_many_parents_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_parents_neon(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_parents_wasm(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::wasm32_simd().unwrap());
}