Skip to content

Commit 350f1c2

Browse files
committed
Print fatal error without backtrace noise
1 parent a94ccf2 commit 350f1c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openssl-sys/build/find_normal.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ https://github.com/sfackler/rust-openssl#windows
187187
);
188188
}
189189

190-
panic!("{}", msg);
190+
eprintln!("{}", msg);
191+
std::process::exit(101); // same as panic previously
191192
}
192193

193194
/// Attempt to find OpenSSL through pkg-config.

0 commit comments

Comments
 (0)