From d14ab6eae9abd88ab4e26d7c7fd2f91d48d1a10f Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 12 May 2018 21:06:49 +0800 Subject: Standalone MIRI - TLS and some other messing about --- src/trans/codegen_mmir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() ) { -- cgit v1.2.3