Skip to content

Commit ef63ca7

Browse files
djcest31
authored andcommitted
Disable botan dependency and tests on macOS
Building Botan on macOS apparently is not supported upstream: "Currently, systems other than Windows and POSIX (such as VMS, MacOS 9, OS/390, OS/400, …) are not supported by the build system, primarily due to lack of access." https://botan.randombit.net/handbook/building.html
1 parent 95ec0f1 commit ef63ca7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ features = ["x509-parser"]
3333
[dev-dependencies]
3434
openssl = "0.10"
3535
webpki = "0.21"
36+
37+
[target.'cfg(not(target_os = "macos"))'.dependencies]
3638
botan = { version = "0.7", features = ["vendored"] }

tests/botan.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(not(target_os = "macos"))]
2+
13
extern crate botan;
24
extern crate rcgen;
35

0 commit comments

Comments
 (0)