# std: Slim down the error code path in initStaticTLS · gitcafe/zig

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

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

Visibility: public

Requested revision: 0c355bef9e424fbf06085f12fc28979d73b3d6af

Requested commit: 0c355bef9e424fbf06085f12fc28979d73b3d6af

Commit: 0c355bef9e424fbf06085f12fc28979d73b3d6af

Tree: b7ccd34b0ce21c303ed3fb69fa2f17e10efc9a0e

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Slim down the error code path in initStaticTLS

Calling @panic made the executable ~30x times bigger, use a simple
`abort()` and let the user figure out what went wrong.

Supporting ARMv6 (and earlier?) platforms is not a priority.

Closes #6676

```

## Parents

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

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