summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-05-12 21:06:49 +0800
committerJohn Hodge <tpg@mutabah.net>2018-05-12 21:06:49 +0800
commitd14ab6eae9abd88ab4e26d7c7fd2f91d48d1a10f (patch)
tree54c198759a024949698d7cd1f5375c6e788a0e16 /src
parentd8928895e318b026f106a30f145d6a41be74cb0f (diff)
downloadmrust-d14ab6eae9abd88ab4e26d7c7fd2f91d48d1a10f.tar.gz
Standalone MIRI - TLS and some other messing about
Diffstat (limited to 'src')
-rw-r--r--src/trans/codegen_mmir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/codegen_mmir.cpp b/src/trans/codegen_mmir.cpp
index db538842..19574814 100644
--- a/src/trans/codegen_mmir.cpp
+++ b/src/trans/codegen_mmir.cpp
@@ -157,7 +157,7 @@ namespace
{
if( is_executable )
{
- m_of << "fn ::main#(i32, *const *const i8): i32 {\n";
+ m_of << "fn ::main#(isize, *const *const i8): i32 {\n";
auto c_start_path = m_resolve.m_crate.get_lang_item_path_opt("mrustc-start");
if( c_start_path == ::HIR::SimplePath() )
{