Open japaric opened 8 years ago
You get an error at compile time:
error: unrecognized arch "nvptx" in target specification
Implementation-wise, we just have to define a "C ABI" in librustc_trans. See librustc_trans/cabi_asmjs.rs as an example.
librustc_trans
librustc_trans/cabi_asmjs.rs
We can't build the core crate for nvptx targets without this.
core
You get an error at compile time:
Implementation-wise, we just have to define a "C ABI" in
librustc_trans
. Seelibrustc_trans/cabi_asmjs.rs
as an example.We can't build the
core
crate for nvptx targets without this.