Debian Codegraph @

debian/patches/disable-c-integration.patch

raw symbols SCIP
1 From: Dominik George <[email protected]>
2 Subject: Disable C integration
3 --- a/Cargo.toml
4 +++ b/Cargo.toml
5 @@ -26,11 +26,3 @@
6
7 [dev-dependencies.expect-test]
8 version = "1.4"
9 -
10 -[build-dependencies.cc]
11 -version = "1.0"
12 -
13 -[features]
14 -default = ["test_c_integration"]
15 -test_c_integration = []
16 -use_c_to_interface_with_setjmp = []
17 --- a/build.rs
18 +++ /dev/null
19 @@ -1,22 +0,0 @@
20 -fn main() {
21 - if std::env::var("CARGO_FEATURE_TEST_C_INTEGRATION")
22 - .ok()
23 - .is_some()
24 - {
25 - cc::Build::new()
26 - .file("src/test_c_integration.c")
27 - .compile("test_c_integration");
28 - } else {
29 - panic!("did not see it");
30 - }
31 -
32 - if std::env::var("CARGO_FEATURE_USE_C_TO_INTERFACE_WITH_SETJMP")
33 - .ok()
34 - .is_some()
35 - {
36 - cc::Build::new()
37 - .file("src/interop_via_c.c")
38 - .compile("interop_via_c");
39 - } else {
40 - }
41 -}