# std.Target: Fix Arch.toElfMachine\(\) for mips\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 490b3281270b175d73bc146390e28ef6188e45a4

Requested commit: 490b3281270b175d73bc146390e28ef6188e45a4

Commit: 490b3281270b175d73bc146390e28ef6188e45a4

Tree: 428c631cf29e52808c9560e54ca6d605ae4c22dc

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.Target: Fix Arch.toElfMachine() for mips.

EM_MIPS_RS3_LE is obsolete; all mips targets just use EM_MIPS.

Also, fun fact: EM_MIPS_RS3_LE is actually big endian!

```

## Parents

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

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