# Make MAX_NAME_BYTES on WASI equivalent to the max of the other platforms · gitcafe/zig

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

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

Visibility: public

Requested revision: 348f73502e81621b7cdb8ecf9a64bc8ebcf9db97

Requested commit: 348f73502e81621b7cdb8ecf9a64bc8ebcf9db97

Commit: 348f73502e81621b7cdb8ecf9a64bc8ebcf9db97

Tree: 265dd884304d939de36e65a4591cd6d5b3a53e91

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Make MAX_NAME_BYTES on WASI equivalent to the max of the other platforms

Make the test use the minimum length and set MAX_NAME_BYTES to the maximum so that:
- the test will work on any host platform
- *and* the MAX_NAME_BYTES will be able to hold the max file name component on any host platform

```

## Parents

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

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