From 74a6528c12679a520c4cdd4ca6df444f8b74e1b0 Mon Sep 17 00:00:00 2001 From: pandaadir05 Date: Fri, 21 Nov 2025 16:00:51 +0200 Subject: [PATCH] fix: use reqwest native-tls-vendored feature for musl --- .github/workflows/ci.yml | 5 +---- ghost-core/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28b5571..77e7ac3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -231,10 +231,7 @@ jobs: - name: Build release (musl) if: matrix.target == 'x86_64-unknown-linux-musl' - run: cargo build --release --target ${{ matrix.target }} --no-default-features - env: - OPENSSL_STATIC: 1 - OPENSSL_VENDORED: 1 + run: cargo build --release --target ${{ matrix.target }} --no-default-features --features vendored-openssl - name: Build release (non-musl) if: matrix.target != 'x86_64-unknown-linux-musl' diff --git a/ghost-core/Cargo.toml b/ghost-core/Cargo.toml index 5b25ae1..9ea0e24 100644 --- a/ghost-core/Cargo.toml +++ b/ghost-core/Cargo.toml @@ -8,6 +8,7 @@ license.workspace = true [features] default = [] yara-scanning = ["yara"] +vendored-openssl = ["reqwest/native-tls-vendored"] [dependencies] anyhow.workspace = true