From: Dominik George Subject: Disable C integration --- a/Cargo.toml +++ b/Cargo.toml @@ -26,11 +26,3 @@ [dev-dependencies.expect-test] version = "1.4" - -[build-dependencies.cc] -version = "1.0" - -[features] -default = ["test_c_integration"] -test_c_integration = [] -use_c_to_interface_with_setjmp = [] --- a/build.rs +++ /dev/null @@ -1,22 +0,0 @@ -fn main() { - if std::env::var("CARGO_FEATURE_TEST_C_INTEGRATION") - .ok() - .is_some() - { - cc::Build::new() - .file("src/test_c_integration.c") - .compile("test_c_integration"); - } else { - panic!("did not see it"); - } - - if std::env::var("CARGO_FEATURE_USE_C_TO_INTERFACE_WITH_SETJMP") - .ok() - .is_some() - { - cc::Build::new() - .file("src/interop_via_c.c") - .compile("interop_via_c"); - } else { - } -}