# emutls: add const to default_value field · gitcafe/zig

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

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

Visibility: public

Requested revision: 1e0f74a9e6a9071bfb82fa3ce5a40ac90bdb91cd

Requested commit: 1e0f74a9e6a9071bfb82fa3ce5a40ac90bdb91cd

Commit: 1e0f74a9e6a9071bfb82fa3ce5a40ac90bdb91cd

Tree: 0130fa70beea11de638540bc095522364b145fa3

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
emutls: add const to default_value field

Commit f14cc75 accidentally added a const when grepping for assignments
to `std.builtin.Type.StructField.default_value`, however when looking
into it further, I noticed that even though this default_value field is
emitted into the .data section, the value it points to is actually
emitted into the .rodata section, so it seems correct to use const here.

```

## Parents

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

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