Skip to content

Commit

Permalink
Merge pull request #14 from aumetra/debug_full-typo
Browse files Browse the repository at this point in the history
Fix typo in MI_DEBUG_FULL
  • Loading branch information
LemonHX authored Jun 6, 2024
2 parents 2f18926 + ef7b179 commit 5b4e32f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mimalloc-rust-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ fn main() {
// Remove heavy debug assertions etc
let profile = std::env::var("PROFILE").unwrap();
match profile.as_str() {
"debug" => build.define("MI_DEBUG_FUL", "3"),
"release" => build.define("MI_DEBUG_FUL", "0").define("MI_DEBUG", "0"),
_ => build.define("MI_DEBUG_FUL", "3"),
"debug" => build.define("MI_DEBUG_FULL", "3"),
"release" => build.define("MI_DEBUG_FULL", "0").define("MI_DEBUG", "0"),
_ => build.define("MI_DEBUG_FULL", "3"),
};

if build.get_compiler().is_like_msvc() {
Expand Down

0 comments on commit 5b4e32f

Please sign in to comment.