Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Commit 8fc80c7

Browse files
z23ccclaude
andcommitted
fix(build): use rustls for fastembed to unblock release cross-compile
The release workflow failed on cross-compiled targets (aarch64-linux, x86_64-darwin) because fastembed's default features pull hf-hub and ort via native-tls → openssl-sys, which needs local OpenSSL that GitHub cross-compile runners lack. Switch fastembed to hf-hub-rustls-tls + ort-download-binaries-rustls-tls, removing native-tls from the dep tree. Also fixes workspace repo URL to z23cc/flow-code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent beb1751 commit 8fc80c7

2 files changed

Lines changed: 100 additions & 42 deletions

File tree

flowctl/Cargo.lock

Lines changed: 93 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flowctl/Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ members = [
1414
edition = "2021"
1515
rust-version = "1.80"
1616
license = "MIT"
17-
repository = "https://github.com/anthropics/flow-code"
17+
repository = "https://github.com/z23cc/flow-code"
1818

1919
# ── Shared dependencies (nushell convention) ──────────────────────────
2020
# Define all deps once here; crates reference via `dep.workspace = true`
@@ -46,7 +46,12 @@ petgraph = "0.7"
4646
libsql = { version = "0.9", default-features = false, features = ["core"] }
4747

4848
# AI embeddings (memory semantic search)
49-
fastembed = "5.12"
49+
# Use rustls to avoid OpenSSL cross-compile headaches on release builds.
50+
fastembed = { version = "5.12", default-features = false, features = [
51+
"ort-download-binaries-rustls-tls",
52+
"hf-hub-rustls-tls",
53+
"image-models",
54+
] }
5055

5156
# CLI (cli crate)
5257
clap = { version = "4", features = ["derive"] }

0 commit comments

Comments
 (0)