Skip to content

fix: vendor OpenSSL for aarch64 release builds#72

Merged
skgbafa merged 1 commit into
mainfrom
fix-aarch64-release-openssl
Jun 8, 2026
Merged

fix: vendor OpenSSL for aarch64 release builds#72
skgbafa merged 1 commit into
mainfrom
fix-aarch64-release-openssl

Conversation

@skgbafa

@skgbafa skgbafa commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enable native-tls vendored OpenSSL only for Linux aarch64 builds
  • set CC/AR for the aarch64 GNU cross toolchain in the release workflow
  • avoid requiring target OpenSSL headers/libs on the GitHub Actions runner

Why

The release workflow cross-compiles aarch64-unknown-linux-gnu from Ubuntu x86_64. openssl-sys was trying to discover a target OpenSSL install and failed with: Could not find directory of OpenSSL installation.

Validation

  • cargo tree -p tinycloud-node -e features --target aarch64-unknown-linux-gnu confirms native-tls / openssl / openssl-sys vendored features are enabled for aarch64 Linux
  • cargo tree -p tinycloud-node -e features confirms vendored OpenSSL is not enabled for the host target
  • cargo check -p tinycloud-node
  • git diff --check

Note

Existing failed tag workflows may need a new tag or retag after this merges, because GitHub tag workflows use the workflow file from the tagged commit.

@skgbafa skgbafa merged commit 917f655 into main Jun 8, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant