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

Richard Diamond wichard at vitalitystudios.com
Thu Jul 31 17:15:21 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140731/e22e8a51/attachment.html>


More information about the Rust-dev mailing list