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

The nvptx targets should generate .ptx files when compiling executables #4

Open
japaric opened this issue Jun 18, 2016 · 1 comment

Comments

@japaric
Copy link

japaric commented Jun 18, 2016

Like the asmjs target does (though that target generates .js files).

IOW, we should be able to use the nvptx target without the --emit=asm flag:

# Executable
$ rustc --target nvptx-unknown-unknown foo.rs
$ ls foo.ptx
foo.ptx

# rlib
$ rustc --target nvptx-unknown-unknown --crate-type=rlib foo.rs
$ ls libfoo.rlib
libfoo.rlib
@MixmasterFresh
Copy link
Owner

I think the place to look for this is in mk/cfg. There are configuration files for the other targets in there.

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

2 participants