build.rs: Don't override Windows exception/RTTI/C++ compiler flags.
Use whatever cc-rs does by default. This shouldn't impact us as we don't use C++.
This commit is contained in:
parent
2201721cd3
commit
65941d014f
5
build.rs
5
build.rs
@ -138,13 +138,10 @@ fn cpp_flags(compiler: &cc::Tool) -> &'static [&'static str] {
|
||||
NON_MSVC_FLAGS
|
||||
} else {
|
||||
static MSVC_FLAGS: &[&str] = &[
|
||||
"/Gy", // Enable function-level linking.
|
||||
"/EHsc", // C++ exceptions only, only in C++.
|
||||
"/GR-", // Disable RTTI.
|
||||
"/Gy", // Enable function-level linking.
|
||||
"/Zc:wchar_t",
|
||||
"/Zc:forScope",
|
||||
"/Zc:inline",
|
||||
"/Zc:rvalueCast",
|
||||
// Warnings.
|
||||
"/sdl",
|
||||
"/Wall",
|
||||
|
Loading…
x
Reference in New Issue
Block a user