diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-26 15:46:30 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-26 15:46:30 +0800 |
commit | 228866b0acc537a2058e86dfba7412355cc4aa0a (patch) | |
tree | 9a497e6a0592c6c6e489e1161dde6553259c081b /src | |
parent | 83d6381873a22ce8395721199b068b96e059af20 (diff) | |
download | mrust-228866b0acc537a2058e86dfba7412355cc4aa0a.tar.gz |
Main - Disable debug for HIR serialisation
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1625d987..bf5d19a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -56,6 +56,8 @@ void init_debug_list() g_debug_disable_map.insert( "Lower MIR" );
g_debug_disable_map.insert( "MIR Validate" );
g_debug_disable_map.insert( "Dump MIR" );
+
+ g_debug_disable_map.insert( "HIR Serialise" );
}
bool debug_enabled()
{
@@ -291,7 +293,7 @@ int main(int argc, char *argv[]) break;
case ::AST::Crate::Type::RustLib:
// Save a loadable HIR dump
- CompilePhaseV("RustLib - HIR Serialise", [&]() {
+ CompilePhaseV("HIR Serialise", [&]() {
HIR_Serialise(params.outfile + ".meta", *hir_crate);
});
// Generate a .o
|