# std.Build.Step: send messages to compiler as little-endian · gitcafe/zig

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

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

Visibility: public

Requested revision: 092299036705eb597f6c9c3c1cb9939d5fb9d131

Requested commit: 092299036705eb597f6c9c3c1cb9939d5fb9d131

Commit: 092299036705eb597f6c9c3c1cb9939d5fb9d131

Tree: a650df7370ea593210c25eed4a2f81f1799b0811

Author: Matthew Lugg

Committer: Alex Rønne Petersen

## Message

```
std.Build.Step: send messages to compiler as little-endian

Little-endian is what `std.zig.Server` expects, but the old logic just
send the raw bytes of the struct, so sent in native endian (causing a
crash on big-endian targets).

```

## Parents

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

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