Skip to content

Commit

Permalink
Enable only feature cross-lang-fat-lto on MacOS (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Mar 10, 2023
1 parent cfbdf11 commit 9c617c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ support-pkg-config := if target == target-host {

cargo-features := trim_end_match(if override-features != "" { override-features
} else if (cargo-profile / ci-or-no) == "dev/ci" { "rustls,fancy-with-backtrace,zstd-thin,log_release_max_level_debug" + (if support-pkg-config != "" { ",pkg-config" } else { "" }) + extra-features
} else if (cargo-profile / ci-or-no) == "release/ci" { "static,rustls,trust-dns,fancy-no-backtrace,zstd-thin,log_release_max_level_debug" + (if target-os != "macos" { ",cross-lang-fat-lto" } else { "" }) + extra-features
} else if (cargo-profile / ci-or-no) == "release/ci" { "static,rustls,trust-dns,fancy-no-backtrace,zstd-thin,log_release_max_level_debug,cross-lang-fat-lto" + extra-features
} else { extra-features
}, ",")

Expand Down

0 comments on commit 9c617c2

Please sign in to comment.