Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
threadlocal_qualifier_on_const.zig
pretty
plain
permalink
blame
history
•
8 lines
•
142 B
1
threadlocal const x: i32 = 1234;
2
export fn entry() i32 {
3
return x;
4
}
5
6
// error
7
//
8
// :1:1: error: threadlocal variable cannot be constant