fix(hero_slides_lib): use reqwest+rustls to unblock musl cross-compile #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_slides_musl_rustls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the
x86_64-unknown-linux-muslCI build failure on thev0.1.0-rc1tag (run #164, 2026-05-04T02:24, status=failure).Root cause
The build failed in
openssl-sys v0.9.114'sbuild.rs:The CI runner has glibc OpenSSL via apt, but the build target is musl, and pkg-config refuses to cross-link glibc libraries into a musl binary.
The dep chain pulling in
openssl-syswas:Hero's other working repos (hero_proc, hero_rpc, hero_aibroker, etc.) already do this right —
default-features = falseon reqwest + explicitrustls-tlsfeature. hero_slides_lib was the outlier.Fix
crates/hero_slides_lib/Cargo.toml:25— switch reqwest declaration from defaults (which includedefault-tls→native-tls→openssl-sys) to explicitrustls-tls:cargo update -p reqwestrefreshes the lockfile. Net change inCargo.lock:openssl-sysopensslnative-tlstokio-native-tlshyper-tlsrustlshyper-rustls,tokio-rustlsValidation
cargo check --workspacepasses (host target)grep -c '^name = "openssl-sys"' Cargo.lock= 0 (confirmed openssl chain absent)v*tag is pushed after merge. Recommendv0.1.0-rc2.Refs
--from-cirollout, Phase 2Test plan
cargo check --workspacepassesCargo.lockno longer containsopenssl-sys,openssl,native-tlsrustlschain present in lockfilev0.1.0-rc2, verify CI build succeeds, verify Forgejo Release shows assetsservice_slides install --from-ci --version v0.1.0-rc2on herociSigned-off-by: mik-tf
Superseded by PR #45 — bundled with fmt + clippy fixes after local workspace-gate validation. Closing to avoid double-PR confusion.
Signed-off-by: mik-tf
Pull request closed