Fix a bunch of deprecated str/vec errors in code for non 64-bit linux platforms...
This commit is contained in:
parent
5a7d139a38
commit
08a4440d64
4 changed files with 25 additions and 25 deletions
|
|
@ -5027,7 +5027,7 @@ fn create_main_wrapper(ccx: @crate_ctxt, sp: span, main_llfn: ValueRef,
|
|||
|
||||
fn create_entry_fn(ccx: @crate_ctxt, rust_main: ValueRef) {
|
||||
#[cfg(windows)]
|
||||
fn main_name() -> str { ret "WinMain@16"; }
|
||||
fn main_name() -> ~str { ret ~"WinMain@16"; }
|
||||
#[cfg(unix)]
|
||||
fn main_name() -> ~str { ret ~"main"; }
|
||||
let llfty = T_fn(~[ccx.int_type, ccx.int_type], ccx.int_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue