We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
debug
1 parent 4b570ee commit 3a2a03cCopy full SHA for 3a2a03c
1 file changed
src/lib.rs
@@ -270,6 +270,10 @@ impl Build {
270
271
let mut msvcbuild = Command::new(build_dir.join("src").join("msvcbuild.bat"));
272
msvcbuild.current_dir(build_dir.join("src"));
273
+
274
+ if self.debug.unwrap_or(cfg!(debug_assertions)) {
275
+ msvcbuild.arg("debug");
276
+ }
277
if self.lua52compat {
278
msvcbuild.arg("lua52compat");
279
}
0 commit comments