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@mozilla.org https://mail.mozilla.org/listinfo/rust-dev