# std.Build.Step.CheckObject: Truncate st_other before interpreting it · gitcafe/zig

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

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

Visibility: public

Requested revision: 6b6e336e07308fd23f3061b5be11407956b2a460

Requested commit: 6b6e336e07308fd23f3061b5be11407956b2a460

Commit: 6b6e336e07308fd23f3061b5be11407956b2a460

Tree: cf50146baa470990de2a81348585a8a15513374f

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.Build.Step.CheckObject: Truncate st_other before interpreting it

Tools are free to use the upper bits of this field for whatever; thus, tools
that want to interpret the visibility type should truncate to 2 bits.

```

## Parents

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

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