From 29c756abba20921b76ba0a2611dd56f0123fd68c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 14 Jul 2018 11:52:48 -0400 Subject: [PATCH] docs: correct some misinformation --- doc/langref.html.in | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index c90c847f9..ea672ccb1 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2239,7 +2239,7 @@ test "switch inside function" { // On an OS other than fuchsia, block is not even analyzed, // so this compile error is not triggered. // On fuchsia this compile error would be triggered. - @compileError("windows not supported"); + @compileError("fuchsia not supported"); }, else => {}, } @@ -2303,13 +2303,13 @@ test "while continue" { {#code_begin|test|while#} const assert = @import("std").debug.assert; -test "while loop continuation expression" { +test "while loop continue expression" { var i: usize = 0; while (i < 10) : (i += 1) {} assert(i == 10); } -test "while loop continuation expression, more complicated" { +test "while loop continue expression, more complicated" { var i1: usize = 1; var j1: usize = 1; while (i1 * j1 < 2000) : ({ i1 *= 2; j1 *= 3; }) { @@ -7118,10 +7118,16 @@ Environments: opencl

The Zig Standard Library (@import("std")) has architecture, environment, and operating sytsem - abstractions, and thus takes additional work to support more platforms. It currently supports - Linux x86_64. Not all standard library code requires operating system abstractions, however, + abstractions, and thus takes additional work to support more platforms. + Not all standard library code requires operating system abstractions, however, so things such as generic data structures work an all above platforms.

+

The current list of targets supported by the Zig Standard Library is:

+ {#header_close#} {#header_open|Style Guide#}