]> git.lizzy.rs Git - rust.git/commit
rustc: Start a custom cabi module for wasm32
authorAlex Crichton <alex@alexcrichton.com>
Mon, 12 Mar 2018 20:09:03 +0000 (13:09 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 12 Mar 2018 20:09:03 +0000 (13:09 -0700)
commit74f5dd07cff8dba348f91cfef4df5242ab33a311
treeea324d4f5d26203f37c9c972a243a87a6d3b3fa8
parent222b0eb583a64299f43d6640617e22f19973ddab
rustc: Start a custom cabi module for wasm32

It actually was already using the `cabi_asmjs` module but that was by accident,
so route the new `wasm32-unknown-unknown` target to a new `cabi_wasm32` module.
The first entries in this module are to use `signext` and `zeroext` for types
that are under 32 bytes in size

Closes rust-lang-nursery/rust-wasm#88
src/librustc_trans/abi.rs
src/librustc_trans/cabi_wasm32.rs [new file with mode: 0644]
src/librustc_trans/lib.rs