diff options
author | John Hodge <tpg@mutabah.net> | 2018-05-12 21:06:49 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-05-12 21:06:49 +0800 |
commit | d14ab6eae9abd88ab4e26d7c7fd2f91d48d1a10f (patch) | |
tree | 54c198759a024949698d7cd1f5375c6e788a0e16 /src | |
parent | d8928895e318b026f106a30f145d6a41be74cb0f (diff) | |
download | mrust-d14ab6eae9abd88ab4e26d7c7fd2f91d48d1a10f.tar.gz |
Standalone MIRI - TLS and some other messing about
Diffstat (limited to 'src')
-rw-r--r-- | src/trans/codegen_mmir.cpp | 2 |
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() ) { |