diff options
| author | Austin Clements <austin@google.com> | 2023-05-18 16:26:13 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2023-05-19 01:37:39 +0000 |
| commit | b42ce3a65fd0ea323a67bc8bdbb2a88e7148dcc7 (patch) | |
| tree | d56bfb5fe575ac096f353b31f207638baf1e1462 /src/runtime/mpagealloc.go | |
| parent | 3ebbaf3a4dbde6f0298978f502f5058fb0e9e948 (diff) | |
| download | go-b42ce3a65fd0ea323a67bc8bdbb2a88e7148dcc7.tar.xz | |
cmd/cgo/internal/testtls: cleanup and support more arches
Currently, this test only enabled on non-Darwin UNIX platforms because
it uses the non-standard _thread attribute for thread-local storage.
C11 introduced a standard way to declare something thread-local, so
this CL takes advantage of that to generalize the test to Darwin and
Windows.
Change-Id: Iba31b6216721df6eb8e978d7487cd3a787cae588
Reviewed-on: https://go-review.googlesource.com/c/go/+/496295
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/mpagealloc.go')
0 files changed, 0 insertions, 0 deletions
