[rust-dev] [ANN] Rust Cross Support for PNaCl

Brian Anderson banderson at mozilla.com
Thu Jul 31 17:23:08 PDT 2014


Neat!

I'm particularly interested that you've ported Rust to newlib, which 
helps Rust with [this 
issue](https://github.com/rust-lang/rust/issues/7283). Do you have a 
complete working standard library that builds against newlib and not glibc?

On 07/31/2014 05:15 PM, Richard Diamond wrote:
> Ladies and Gentlemen,
>
> I am pleased to announce WIP-level cross support for le32-unknown-nacl 
> targets, including x86_64-unknown-nacl (ie translated PNaCl modules). 
> I say WIP because of a half-dozen number of caveats arising from 
> either bugs in LLVM (though only w.r.t. PNaCl/NaCl; ie 
> (x86_64|i686)-linux-gnu is unaffected relative to rust proper), 
> restrictions of Pepper plugins, or idiosyncrasies of Newlib. 
> Nonetheless, I've reached a MVP state and thus it is ready to be toyed 
> with by the more courageous among you. PRs are welcome!
>
> Given the needed changes to LLVM and the addition of an extra dep 
> (nacl-binutils), this fork is unlikely to be upstreamed. I'm not 
> opposed in any way to upstreaming, however.
>
> The fork is located here <https://github.com/DiamondLovesYou/rust>. If 
> you're curious as to what doesn't work, checkout the issue board.
> Rust bindings to parts of the Pepper API are located here 
> <https://github.com/DiamondLovesYou/rust-ppapi> (also a WIP).
> A simple "Hello, world!" is located here 
> <https://github.com/DiamondLovesYou/rust-pnacl-hello-world>.
>
> Regards,
> Richard Diamond
>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140731/115035ca/attachment.html>


More information about the Rust-dev mailing list