We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8553313 commit 4fe2937Copy full SHA for 4fe2937
postgresql_embedded/build/bundle.rs
@@ -61,9 +61,9 @@ pub(crate) async fn stage_postgresql_archive() -> Result<()> {
61
if cfg!(feature = "bundled") && let Some(exact_version) = version_req.exact_version() {
62
println!("Using existing version: {exact_version:?}");
63
let ver = exact_version.to_string();
64
- let target_os = if cfg!(target_os = "windows") {
+ let target_os = if target_triple::TARGET.contains("windows") {
65
"windows"
66
- } else if cfg!(target_os = "linux") {
+ } else if target_triple::TARGET.contains("linux") {
67
"linux"
68
} else {
69
panic!("Unsupported target OS: only windows and linux are supported");
0 commit comments