diff options
author | John Hodge <tpg@mutabah.net> | 2018-03-30 15:15:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-03-30 15:17:17 +0800 |
commit | 84dec47334d7f29a2395c4c951c0f122d83dde6b (patch) | |
tree | 145720122189ec7623d60b58ad6ff1a8929eb7f9 | |
parent | 522c918b3c687b6c056ad129ad167ab4b36381ee (diff) | |
download | mrust-84dec47334d7f29a2395c4c951c0f122d83dde6b.tar.gz |
Minicargo - Turn on debug_assertions when in debug mode
-rw-r--r-- | tools/minicargo/build.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/minicargo/build.cpp b/tools/minicargo/build.cpp index 5c5a8f25..c7c07256 100644 --- a/tools/minicargo/build.cpp +++ b/tools/minicargo/build.cpp @@ -644,7 +644,7 @@ bool Builder::build_target(const PackageManifest& manifest, const PackageTarget& } if( true /*this->enable_debug*/ ) { args.push_back("-g"); - //args.push_back("--cfg"); args.push_back("debug_assertions"); + args.push_back("--cfg"); args.push_back("debug_assertions"); } if( true /*this->enable_optimise*/ ) { args.push_back("-O"); |