Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't call extern "C" functions #7

Open
japaric opened this issue Jun 18, 2016 · 0 comments
Open

can't call extern "C" functions #7

japaric opened this issue Jun 18, 2016 · 0 comments

Comments

@japaric
Copy link

japaric commented Jun 18, 2016

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.

We can't build the core crate for nvptx targets without this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant