maint: Remove RUST_NIX_C_RAW_EXTRA_CFLAGS
The standard bindgen flag BINDGEN_EXTRA_CLANG_ARGS seems to do the same thing. (cherry picked from commit 599eece08bee28d72c4ec20c8578428c158a19c1)
This commit is contained in:
parent
caff9a2019
commit
9021f55a53
2 changed files with 0 additions and 8 deletions
|
|
@ -45,12 +45,6 @@ fn c_headers() -> Vec<String> {
|
|||
args.push(format!("-I{}", path.to_str().unwrap()));
|
||||
}
|
||||
|
||||
if let Ok(cflags) = std::env::var("RUST_NIX_C_RAW_EXTRA_CFLAGS") {
|
||||
for flag in cflags.split_whitespace() {
|
||||
args.push(flag.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
// write to stderr for debugging
|
||||
eprintln!("c_headers: {:?}", args);
|
||||
args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue