Open japaric opened 8 years ago
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:
--emit=asm
# 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
I think the place to look for this is in mk/cfg. There are configuration files for the other targets in there.
mk/cfg
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: