mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-24 18:02:13 +00:00
Replace cmake with cc
This commit is contained in:
parent
4746d04c44
commit
4de7deb568
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2146,7 +2146,7 @@ dependencies = [
|
||||
name = "wasmer-win-exception-handler"
|
||||
version = "0.16.2"
|
||||
dependencies = [
|
||||
"cmake",
|
||||
"cc",
|
||||
"libc",
|
||||
"wasmer-runtime-core",
|
||||
"winapi",
|
||||
|
@ -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 .)
|
Loading…
x
Reference in New Issue
Block a user