Skip to content

Commit

Permalink
run the release notes build script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Apr 13, 2020
1 parent 334310d commit d4549eb
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 113 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e

"$ZIG_DOCGEN" zig src/download/0.6.0/release-notes.html www/download/0.6.0/release-notes.html
rm a.txt b.txt hello.txt # garbage created by building release notes
#"$ZIG_DOCGEN" zig src/index.html www/index.html
"$ZIG_DOCGEN" zig src/index.html www/index.html
2 changes: 1 addition & 1 deletion src/download/0.6.0/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ <h1>0.6.0 Release Notes</h1>
This type has the length encoded in multiple ways. This means that it can automatically
coerce to both {#syntax#}[]const u8{#endsyntax#} (because the length is encoded in the type),
and it can also automatically coerce to {#syntax#}[*:0]const u8{#endsyntax#} (because both types
are null-terminated and with the help of <a href="https://ziglang.org/documentation/0.6.0/#Slicing-with-Comptime-Indexes">Slicing with Comptime Indexes</a>).
are null-terminated and with the help of {#link|Slicing with Comptime Indexes#}).
</p>
<p>
With this change, Zig string literals now can be passed directly to both C functions which expect null-terminated
Expand Down

0 comments on commit d4549eb

Please sign in to comment.