fix: use reqwest native-tls-vendored feature for musl
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -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'
|
||||
|
||||
@@ -8,6 +8,7 @@ license.workspace = true
|
||||
[features]
|
||||
default = []
|
||||
yara-scanning = ["yara"]
|
||||
vendored-openssl = ["reqwest/native-tls-vendored"]
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user