rust: remove cc build dep. & stdout.c file; #355

dankamongmen/ltr
joseLuís 4 years ago
parent a0e1577b56
commit 98d86ec286

@ -24,7 +24,6 @@ cty = "0.2.1"
[build-dependencies]
bindgen = ">= 0.55.1"
cc = "1.0"
pkg-config = ">= 0.3.18"
[dev-dependencies]

@ -14,10 +14,6 @@ fn main() {
// Tell cargo to invalidate the built crate whenever the wrapper changes
println!("cargo:rerun-if-changed=build/wrapper.h");
cc::Build::new()
.file("build/stdout.c")
.compile("stdout");
// The bindgen::Builder is the main entry point to bindgen, and lets you
// build up options for the resulting bindings.
let mut builder = bindgen::Builder::default()

@ -1,5 +0,0 @@
#include <stdio.h>
FILE* libc_stdout(void){
return stdout;
}
Loading…
Cancel
Save