>>Tried to use #[no_std] as following: >> use std::io::stdio; >> #[no_std] >>fn
>>main () { >>stdio::println("Hello World!"); >>} > You need to use LTO, as
>>Daniel said. Rust statically links by default
> rather than dynamically linking as most C compilers do.
>
> The generated binary will still be larger than that of C, but this is a
> work in progress. I'm fairly confident at this point that we will be
> able to close this gap fairly far through splitting up vtables and using
> real TLS.
>
> PatrickThanks Patrick! I understand and am pretty confident of rust getting
> there. _______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev