blob: 73d68fdd54bafef5810dea62576cef23f38006c3 [file] [log] [blame] [edit]
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
fn main() {
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
if target_os == "macos" {
cc::Build::new()
.file("src/task_info.c")
.compile("libtask_info.a");
}
}