diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-12 13:16:18 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-12 13:16:18 +0800 |
commit | 912b426c753dd0c1de2acdf80dee6eefc5fea409 (patch) | |
tree | 5cbcd8bce0da1266f0a84aa5e16b48567bed19c1 /src/hir/dump.cpp | |
parent | 27f45b3a201ff3bd39a331c685c1db648a4f11ed (diff) | |
download | mrust-912b426c753dd0c1de2acdf80dee6eefc5fea409.tar.gz |
Make deault ABI a #define
Diffstat (limited to 'src/hir/dump.cpp')
-rw-r--r-- | src/hir/dump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/dump.cpp b/src/hir/dump.cpp index 90c7c7c1..90b0d1c9 100644 --- a/src/hir/dump.cpp +++ b/src/hir/dump.cpp @@ -198,7 +198,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 " << p.get_name() << item.m_params.fmt_args() << "("; for(const auto& arg : item.m_args) |