We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1df5f7e commit 7a32f66Copy full SHA for 7a32f66
snmalloc-rs/snmalloc-sys/build.rs
@@ -253,7 +253,7 @@ impl BuilderDefine for cmake::Config {
253
}
254
255
fn configure_cpp(&mut self, debug: bool) -> &mut Self {
256
- self.get_profile() = if debug { "Debug" } else { "Release" };
+ self.profile(if debug { "Debug" } else { "Release" });
257
self.define("SNMALLOC_RUST_SUPPORT", "ON")
258
.very_verbose(true)
259
.define("CMAKE_SH", "CMAKE_SH-NOTFOUND")
0 commit comments