# Apple Silicon: no fstat$INODE64 symbol found · gitcafe/zig

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

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

Visibility: public

Requested revision: bda9a159aa38f67dc76f2f4b7730a916239b27e0

Requested commit: bda9a159aa38f67dc76f2f4b7730a916239b27e0

Commit: bda9a159aa38f67dc76f2f4b7730a916239b27e0

Tree: ccf1af3ef2723b5a6e41bc71fc62712013c3eda9

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Apple Silicon: no fstat$INODE64 symbol found

It seems that Apple has finally got rid of the 32bit versions of
`fstat` and `fstatat`, and instead, only 64bit versions are available
on BigSur and Apple Silicon.

The tweak in this commit is required to make Zig stage1 compile on
BigSur + aarch64.

```

## Parents

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

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