debug mode build

This commit is contained in:
Corwin Kuiper 2021-07-13 22:24:08 +01:00
parent c3da877c14
commit 819d86cfbf
3 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,9 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
debug = true
[dependencies]
regex = "1"
anyhow = "1.0"

View file

@ -31,6 +31,7 @@ cmake .. \
-DUSE_LZMA=OFF \
-DUSE_DISCORD_RPC=OFF \
-DENABLE_SCRIPTING=OFF \
-DCMAKE_BUILD_TYPE=Debug \
-DUSE_EPOXY=OFF
make

View file

@ -19,6 +19,7 @@ fn main() {
.file("c/test-runner.c")
.include(&mgba_directory.join("include"))
.static_flag(true)
.debug(true)
.compile("test-runner");
let bindings = bindgen::Builder::default()