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)
|
- name: Build release (musl)
|
||||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||||
run: cargo build --release --target ${{ matrix.target }} --no-default-features
|
run: cargo build --release --target ${{ matrix.target }} --no-default-features --features vendored-openssl
|
||||||
env:
|
|
||||||
OPENSSL_STATIC: 1
|
|
||||||
OPENSSL_VENDORED: 1
|
|
||||||
|
|
||||||
- name: Build release (non-musl)
|
- name: Build release (non-musl)
|
||||||
if: matrix.target != 'x86_64-unknown-linux-musl'
|
if: matrix.target != 'x86_64-unknown-linux-musl'
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ license.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
yara-scanning = ["yara"]
|
yara-scanning = ["yara"]
|
||||||
|
vendored-openssl = ["reqwest/native-tls-vendored"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
Reference in New Issue
Block a user