File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
templates/http-zig/content/src Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 55/// instead of printing an error,
66#[ derive( Debug ) ]
77pub 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
Original file line number Diff line number Diff line change 11const std = @import ("std" );
22
33pub 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}
You can’t perform that action at this time.
0 commit comments