Skip to content

Commit

Permalink
zig 0.12.0-dev.411+ada02ac6f
Browse files Browse the repository at this point in the history
  • Loading branch information
giann committed Sep 18, 2023
1 parent 3fe8019 commit a918642
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn get_buzz_prefix(b: *Build) []const u8 {
pub fn build(b: *Build) !void {
// Check minimum zig version
const current_zig = builtin.zig_version;
const min_zig = std.SemanticVersion.parse("0.12.0-dev.163+6780a6bbf") catch return;
const min_zig = std.SemanticVersion.parse("0.12.0-dev.411+ada02ac6f") catch return;
if (current_zig.order(min_zig).compare(.lt)) {
@panic(b.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ current_zig, min_zig }));
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/buzz_http.zig
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ fn handleWaitError(ctx: *api.NativeCtx, err: anytype) void {
switch (err) {
error.OutOfMemory => @panic("Out of memory"),

error.CannotRedirect,
error.RedirectRequiresResend,
error.CertificateBundleLoadFailure,
error.CompressionInitializationFailed,
error.CompressionNotSupported,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/http.buzz
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import "io";
import "errors";

export enum HttpError {
CannotRedirect,
CertificateBundleLoadFailure,
CompressionInitializationFailed,
CompressionNotSupported,
Expand All @@ -31,6 +30,7 @@ export enum HttpError {
NameServerFailure,
NetworkUnreachable,
Overflow,
RedirectRequiresResend
StreamTooLong,
TemporaryNameServerFailure,
TlsAlert,
Expand Down

0 comments on commit a918642

Please sign in to comment.