Replace cmake with cc

This commit is contained in:
Jake Shadle
2020-03-18 20:05:05 +01:00
parent 4746d04c44
commit 4de7deb568
5 changed files with 6 additions and 9 deletions

View File

@ -7,4 +7,8 @@ fn main() {
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static={}", project_name);
}
cc::Build::new()
.include("exception_handling")
.file("exception_handling/exception_handling.c")
.compile("exception_handling");
}