diff --git a/doc/langref.html.in b/doc/langref.html.in index ac3864add..03afa1cf0 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -243,8 +243,9 @@ const Timestamp = struct { {#header_close#} {#header_open|Values#} {#code_begin|exe|values#} -const std = @import("std"); +// Top-level declarations are order-independent: const warn = std.debug.warn; +const std = @import("std"); const os = std.os; const assert = std.debug.assert; @@ -6745,11 +6746,7 @@ pub fn build(b: *Builder) void { {#header_open|Single Threaded Builds#}

Zig has a compile option --single-threaded which has the following effects: