build.rs 258 Bytes
Newer Older
qinsoon's avatar
qinsoon committed
1 2 3 4 5
extern crate gcc;

#[cfg(target_os = "macos")]
#[cfg(target_arch = "x86_64")]
fn main() {
6
    gcc::compile_library("libruntime.a", &["src/runtime/runtime_x64_macos.c"]);
7
    gcc::compile_library("libgc_clib_x64.a", &["src/runtime/mm/heap/gc/clib_x64.c"]); 
qinsoon's avatar
qinsoon committed
8
}