Skip to content

Commit 9b33848

Browse files
committed
Pass through C standard flag to libclang for sanitizers
1 parent a59b300 commit 9b33848

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/cpython-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ fn generate_c_api_bindings(srcdir: &Path, builddir: Option<&str>, out_path: &Pat
7676
}
7777
} else if flag.starts_with("-I")
7878
|| flag.starts_with("-D")
79+
|| flag.starts_with("-std=")
7980
|| flag.starts_with("-isystem")
8081
{
8182
builder = builder.clang_arg(flag);

0 commit comments

Comments
 (0)