Skip to content

Commit

Permalink
zig update: Remove Cpu.Arch.dxil and ObjectFormat.dxcontainer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Organ1sm authored and Vexu committed Sep 25, 2024
1 parent 8c1eeea commit 406f323
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/aro/target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
.spirv,
.spirv32,
.loongarch32,
.dxil,
.xtensa,
=> {}, // Already 32 bit

Expand All @@ -510,7 +509,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
.arc,
.avr,
.csky,
.dxil,
.hexagon,
.kalimba,
.lanai,
Expand Down Expand Up @@ -579,7 +577,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.bpfel => "bpfel",
.bpfeb => "bpfeb",
.csky => "csky",
.dxil => "dxil",
.hexagon => "hexagon",
.loongarch32 => "loongarch32",
.loongarch64 => "loongarch64",
Expand Down Expand Up @@ -703,21 +700,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.cygnus => "cygnus",
.simulator => "simulator",
.macabi => "macabi",
.pixel => "pixel",
.vertex => "vertex",
.geometry => "geometry",
.hull => "hull",
.domain => "domain",
.compute => "compute",
.library => "library",
.raygeneration => "raygeneration",
.intersection => "intersection",
.anyhit => "anyhit",
.closesthit => "closesthit",
.miss => "miss",
.callable => "callable",
.mesh => "mesh",
.amplification => "amplification",
.ohos => "openhos",
};
writer.writeAll(llvm_abi) catch unreachable;
Expand Down

0 comments on commit 406f323

Please sign in to comment.