Skip to content

Commit 3247718

Browse files
committed
fix: template issue with zig + docs
Signed-off-by: Aminu 'Seun Joshua <[email protected]>
1 parent d2fc51f commit 3247718

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ jobs:
191191
- name: Install Rust wasm target
192192
run: rustup target add wasm32-wasip1 wasm32-unknown-unknown
193193
- uses: goto-bus-stop/setup-zig@v2
194-
with:
195-
zig-version: 0.14.1
196194
- uses: actions/setup-go@v4
197195
with:
198196
go-version: "1.23"

src/subprocess.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
/// instead of printing an error,
66
#[derive(Debug)]
77
pub enum ExitStatusError {
8+
/// The subprocess exited with a specific exit code.
89
ExitCode(i32),
10+
/// The subprocess was exited by a signal. Only available for `Unix` based systems.
911
Signal(i32),
12+
/// Catchall for general errors. Error code `1`
1013
Unknown,
1114
}
1215

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const std = @import("std");
22

33
pub fn main() !void {
4-
const stdout = std.io.getStdOut().writer();
4+
const stdout = std.io.getStdOutWriter();
55
try stdout.print("content-type: text/plain\n\n", .{});
66
try stdout.print("Hello World!\n", .{});
77
}

0 commit comments

Comments
 (0)