Skip to content

Commit

Permalink
Disable botan dependency and tests on macOS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djc authored and est31 committed Nov 19, 2020
1 parent 95ec0f1 commit ef63ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ features = ["x509-parser"]
[dev-dependencies]
openssl = "0.10"
webpki = "0.21"

[target.'cfg(not(target_os = "macos"))'.dependencies]
botan = { version = "0.7", features = ["vendored"] }
2 changes: 2 additions & 0 deletions tests/botan.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(target_os = "macos"))]

extern crate botan;
extern crate rcgen;

Expand Down

0 comments on commit ef63ca7

Please sign in to comment.