Use target_os = linux instead.
This commit is contained in:
parent
19fe1d37e7
commit
f4dbe1624a
|
@ -47,9 +47,10 @@ serde_json = "1.0.94"
|
|||
thiserror = "1.0.39"
|
||||
uplc = { path = '../uplc', version = "1.1.4" }
|
||||
|
||||
[target.'cfg(target_env = "musl")'.dependencies]
|
||||
openssl = { version = "0.10.66", features = ["vendored"], optional = true }
|
||||
openssl-probe = { version = "0.1.5", optional = true }
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
xdg = "2.5.2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
openssl = { version = "0.10.66", features = ["vendored"], optional = true }
|
||||
openssl-probe = { version = "0.1.5", optional = true }
|
||||
xdg = "2.5.2"
|
||||
|
|
|
@ -14,7 +14,7 @@ mod cmd;
|
|||
fn main() -> miette::Result<()> {
|
||||
panic_handler();
|
||||
|
||||
#[cfg(target_env = "musl")]
|
||||
#[cfg(target_os = "linux")]
|
||||
openssl_probe::init_ssl_cert_env_vars();
|
||||
|
||||
match Cmd::default() {
|
||||
|
|
Loading…
Reference in New Issue