Skip to content

Commit fd336ed

Browse files
committed
fix(ci): remove aarch64-pc-windows-msvc from release matrix
Cross-compilation of crypto crates (ring, aws-lc-sys) for Windows ARM64 from Linux runners fails due to missing SDK headers and unsupported ARM architecture flags in GCC. - Remove aarch64-pc-windows-msvc from build matrix - Update README download table (5 targets instead of 6) - Fix deprecated criterion::black_box -> std::hint::black_box
1 parent 6b5916c commit fd336ed

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
target: x86_64-pc-windows-msvc
4242
archive: zip
4343
use_cross: false
44-
- os: ubuntu-latest
45-
target: aarch64-pc-windows-msvc
46-
archive: zip
47-
use_cross: true
44+
# aarch64-pc-windows-msvc removed: cross-compilation from Linux
45+
# fails for crypto crates (ring, aws-lc-sys) that require
46+
# Windows ARM64 SDK headers unavailable in cross containers.
47+
# Re-enable when GitHub provides hosted Windows ARM64 runners.
4848
steps:
4949
- uses: actions/checkout@v6
5050
- uses: dtolnay/rust-toolchain@stable

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Download from [GitHub Releases](https://github.com/bug-ops/zeph/releases/latest)
3333
| macOS | x86_64 | `zeph-x86_64-apple-darwin.tar.gz` |
3434
| macOS | aarch64 | `zeph-aarch64-apple-darwin.tar.gz` |
3535
| Windows | x86_64 | `zeph-x86_64-pc-windows-msvc.zip` |
36-
| Windows | aarch64 | `zeph-aarch64-pc-windows-msvc.zip` |
3736

3837
### Docker
3938

crates/zeph-channels/benches/markdown_performance.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use criterion::{BenchmarkId, Criterion, Throughput, black_box, criterion_group, criterion_main};
1+
use criterion::{BenchmarkId, Criterion, Throughput, criterion_group, criterion_main};
2+
use std::hint::black_box;
23
use zeph_channels::markdown::{markdown_to_telegram, utf8_chunks};
34

45
fn generate_text(size: usize, pattern: &str) -> String {

0 commit comments

Comments
 (0)