# std: Properly fix the TLS alignment problem · gitcafe/zig

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

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

Visibility: public

Requested revision: ce65533985caa9e2da567948e36d7d4ba0185005

Requested commit: ce65533985caa9e2da567948e36d7d4ba0185005

Commit: ce65533985caa9e2da567948e36d7d4ba0185005

Tree: ad9a50fd42fcd366185216eff120dc80753cde1a

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Properly fix the TLS alignment problem

ad05509 introduced a fix for the wrong problem, the logic to align the
start of main_thread_tls_buffer was already there but was flawed.

Fix it for good and avoid wasting too many bytes for alignment purposes.

```

## Parents

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

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