std.Target: Fix ptrBitWidth_cpu_abi() for dxil (64-bit, not 32-bit).
The DXIL documentation claims 32-bit pointers:
https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#memory-accesses
Despite this, Clang considers pointers 64-bit when targeting it.
1 files changed, 1 insertions(+), 1 deletions(-)
lib
std
lib/std/Target.zig+1-1
| ... | ... | @@ -1854,12 +1854,12 @@ pub fn ptrBitWidth_cpu_abi(cpu: Cpu, abi: Abi) u16 { |
| 1854 | 1854 | .wasm32, |
| 1855 | 1855 | .spirv32, |
| 1856 | 1856 | .loongarch32, |
| 1857 | | .dxil, |
| 1858 | 1857 | .xtensa, |
| 1859 | 1858 | => 32, |
| 1860 | 1859 | |
| 1861 | 1860 | .aarch64, |
| 1862 | 1861 | .aarch64_be, |
| 1862 | .dxil, |
| 1863 | 1863 | .mips64, |
| 1864 | 1864 | .mips64el, |
| 1865 | 1865 | .powerpc64, |