parent
1f83b5c508
commit
0e4d9472a9
6 changed files with 24 additions and 16 deletions
|
@ -35,7 +35,10 @@ pub struct SwiftTarget {
|
|||
const MACOS_TARGET_VERSION: &str = "10.15.7";
|
||||
|
||||
fn main() {
|
||||
if cfg!(not(any(test, feature = "test-support"))) {
|
||||
if cfg!(all(
|
||||
target_os = "macos",
|
||||
not(any(test, feature = "test-support"))
|
||||
)) {
|
||||
let swift_target = get_swift_target();
|
||||
|
||||
build_bridge(&swift_target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue