std.Target: Remove ObjectFormat.nvptx (and associated linker code).

Textual PTX is just assembly language like any other. And if we do ever add
support for emitting PTX object files after reverse engineering the bytecode
format, we'd be emitting ELF files like the CUDA toolchain. So there's really no
need for a special ObjectFormat tag here, nor linker code that treats it as a
distinct format.
This commit is contained in:
Alex Rønne Petersen
2025-05-01 21:14:57 +02:00
parent 2c241b263c
commit 837e0f9c37
9 changed files with 4 additions and 147 deletions

View File

@@ -640,7 +640,6 @@ set(ZIG_STAGE2_SOURCES
src/link/MachO/synthetic.zig
src/link/MachO/Thunk.zig
src/link/MachO/uuid.zig
src/link/NvPtx.zig
src/link/Plan9.zig
src/link/Plan9/aout.zig
src/link/SpirV.zig