Skip to content

Commit 3461455

Browse files
authored
Merge pull request #49 from ryancinsight/master
correct windows gnu setup
2 parents 390be37 + 83d5a6e commit 3461455

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

libmimalloc-sys/build.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,10 @@ fn main() {
123123

124124
let mut out_dir = "./build".to_string();
125125
if cfg!(all(windows)) {
126-
out_dir.push('/');
127-
out_dir.push_str(win_folder);
126+
if target_env == "msvc" {
127+
out_dir.push('/');
128+
out_dir.push_str(win_folder);
129+
}
128130
}
129131
let out_name = if cfg!(all(windows)) {
130132
if is_debug {

libmimalloc-sys/c_src/mimalloc

Submodule mimalloc updated 65 files

0 commit comments

Comments
 (0)