mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 14:11:32 +00:00
Replace cmake with cc
This commit is contained in:
@ -13,4 +13,4 @@ winapi = { version = "0.3.8", features = ["winbase", "errhandlingapi", "minwinde
|
||||
libc = "0.2.60"
|
||||
|
||||
[build-dependencies]
|
||||
cmake = "0.1"
|
||||
cc = "1.0"
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
cmake-build-*
|
@ -1,6 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(exception_handling C)
|
||||
|
||||
add_library(exception_handling STATIC exception_handling.c)
|
||||
|
||||
install(TARGETS exception_handling DESTINATION .)
|
Reference in New Issue
Block a user