Skip to content

Commit 2b94f52

Browse files
authored
Revert "Use debug version of MSVC runtime library on debug (#1231)" (#1237)
This reverts commit c80a706.
1 parent 39c0aaf commit 2b94f52

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/lib.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -1945,15 +1945,8 @@ impl Build {
19451945
None => {
19461946
let features = self.getenv("CARGO_CFG_TARGET_FEATURE");
19471947
let features = features.as_deref().unwrap_or_default();
1948-
let debug = self.get_debug();
19491948
if features.to_string_lossy().contains("crt-static") {
1950-
if debug {
1951-
"-MTd"
1952-
} else {
1953-
"-MT"
1954-
}
1955-
} else if debug {
1956-
"-MDd"
1949+
"-MT"
19571950
} else {
19581951
"-MD"
19591952
}

0 commit comments

Comments
 (0)