summaryrefslogtreecommitdiff
path: root/src/mir/dump.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-12 13:16:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-12 13:16:18 +0800
commit912b426c753dd0c1de2acdf80dee6eefc5fea409 (patch)
tree5cbcd8bce0da1266f0a84aa5e16b48567bed19c1 /src/mir/dump.cpp
parent27f45b3a201ff3bd39a331c685c1db648a4f11ed (diff)
downloadmrust-912b426c753dd0c1de2acdf80dee6eefc5fea409.tar.gz
Make deault ABI a #define
Diffstat (limited to 'src/mir/dump.cpp')
-rw-r--r--src/mir/dump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/dump.cpp b/src/mir/dump.cpp
index aa17a651..0023d2b6 100644
--- a/src/mir/dump.cpp
+++ b/src/mir/dump.cpp
@@ -99,7 +99,7 @@ namespace {
m_os << "const ";
if( item.m_unsafe )
m_os << "unsafe ";
- if( item.m_abi != "rust" )
+ if( item.m_abi != ABI_RUST )
m_os << "extern \"" << item.m_abi << "\" ";
m_os << "fn ";
if( m_short_item_name )