Skip to content

Commit 29c756a

Browse files
committedJul 14, 2018
docs: correct some misinformation
·
0.15.10.3.0
1 parent bf441ed commit 29c756a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
 

‎doc/langref.html.in‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ test "switch inside function" {
22392239
// On an OS other than fuchsia, block is not even analyzed,
22402240
// so this compile error is not triggered.
22412241
// On fuchsia this compile error would be triggered.
2242-
@compileError("windows not supported");
2242+
@compileError("fuchsia not supported");
22432243
},
22442244
else => {},
22452245
}
@@ -2303,13 +2303,13 @@ test "while continue" {
23032303
{#code_begin|test|while#}
23042304
const assert = @import("std").debug.assert;
23052305

2306-
test "while loop continuation expression" {
2306+
test "while loop continue expression" {
23072307
var i: usize = 0;
23082308
while (i < 10) : (i += 1) {}
23092309
assert(i == 10);
23102310
}
23112311

2312-
test "while loop continuation expression, more complicated" {
2312+
test "while loop continue expression, more complicated" {
23132313
var i1: usize = 1;
23142314
var j1: usize = 1;
23152315
while (i1 * j1 < 2000) : ({ i1 *= 2; j1 *= 3; }) {
@@ -7118,10 +7118,16 @@ Environments:
71187118
opencl</code></pre>
71197119
<p>
71207120
The Zig Standard Library (<code>@import("std")</code>) has architecture, environment, and operating sytsem
7121-
abstractions, and thus takes additional work to support more platforms. It currently supports
7122-
Linux x86_64. Not all standard library code requires operating system abstractions, however,
7121+
abstractions, and thus takes additional work to support more platforms.
7122+
Not all standard library code requires operating system abstractions, however,
71237123
so things such as generic data structures work an all above platforms.
71247124
</p>
7125+
<p>The current list of targets supported by the Zig Standard Library is:</p>
7126+
<ul>
7127+
<li>Linux x86_64</li>
7128+
<li>Windows x86_64</li>
7129+
<li>MacOS x86_64</li>
7130+
</ul>
71257131
{#header_close#}
71267132
{#header_open|Style Guide#}
71277133
<p>

0 commit comments

Comments
 (0)
Please sign in to comment.