denzp / rust-ptx-linker

The missing puzzle piece for NVPTX experience with Rust
MIT License
53 stars 11 forks source link

Is it possible to re-enable ptx-linker in rustc CI? #33

Open kjetilkjeka opened 2 years ago

kjetilkjeka commented 2 years ago

I've recently started working on nvptx support in Rust and has run into the problem of not being able to use ptx-linker in assembly tests.

The ptx-linker used to be active in the rustc but was removed in f8f9a2869cce570c994d96afb82f4162b1b44cca. It seems to me like the issue is fixed (in https://github.com/denzp/rustc-llvm-proxy/pull/7), and there is no reason to not add it back and enable nvptx tests, is this correct? If not, what can I do to help the situation? (Relevant discussion here to jog the memory https://github.com/rust-lang/rust/pull/59752)

Looking even further in the future. What is the ideal way to distribute ptx-linker? I imagine it would be better to somehow distribute it together with the nvptx64 toolchain in rustup? Are there anything that can help the situation right now, or is it basically waiting for more rust ptx adoption?