# std.Target: Fix ptrBitWidth_cpu_abi\(\) for dxil \(64-bit, not 32-bit\)\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ab154be7f0a89b271686d740f7e50545414a6024)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ab154be7f0a89b271686d740f7e50545414a6024

Requested commit: ab154be7f0a89b271686d740f7e50545414a6024

Commit: ab154be7f0a89b271686d740f7e50545414a6024

Tree: e74b9b24138b6cdbc3d0bc8d112ea2a958e0bf47

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
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.

```

## Parents

- [fab5df4028f686a69330982b41ee880b5bdd4e04](https://git.cafe/gitcafe/zig/commit/fab5df4028f686a69330982b41ee880b5bdd4e04?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ab154be7f0a89b271686d740f7e50545414a6024?format=markdown)
