From 580ff3669f00a208a6e2c896027db728d431e407 Mon Sep 17 00:00:00 2001 From: Ethan Holz Date: Sat, 20 Apr 2024 19:51:04 +0000 Subject: [PATCH] feat: prepare of zig 0.12 release --- flake.lock | 24 ++++++++++++------------ src/fasta.zig | 4 ++-- src/main.zig | 6 +++--- 3 file(s) changed, 17 insertion(s)(+), 17 deletion(s)(-) diff --git a/flake.lock b/flake.lock --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -56,11 +56,11 @@ ] }, "locked": { - "lastModified": 1703887061, - "narHash": "sha256-gGPa9qWNc6eCXT/+Z5/zMkyYOuRZqeFZBDbopNZQkuY=", + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", "owner": "hercules-ci", "repo": "gitignore.nix", - "rev": "43e1aa1308018f37118e34d3a9cb4f5e75dc11d5", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", "type": "github" }, "original": { @@ -71,11 +71,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1704842529, - "narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=", + "lastModified": 1713596654, + "narHash": "sha256-LJbHQQ5aX1LVth2ST+Kkse/DRzgxlVhTL1rxthvyhZc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "eabe8d3eface69f5bb16c18f8662a702f50c20d5", + "rev": "fd16bb6d3bcca96039b11aa52038fafeb6e4f4be", "type": "github" }, "original": { @@ -117,11 +117,11 @@ ] }, "locked": { - "lastModified": 1705040559, - "narHash": "sha256-6SjLyxWAVMfVfkz2x/3IlAJBJ0ywus6Hr9JrBbT9zCk=", + "lastModified": 1713572548, + "narHash": "sha256-bYNsY9HwrV8+eJGRYvfLEP6/Sgf2Kr9qNbnB91OYMMM=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "6022b38d2fd4e7504f1e8b6dcfccab9b655764a9", + "rev": "76bccd85db6a182dfcbf8a5f4b540953f029a12c", "type": "github" }, "original": { diff --git a/src/fasta.zig b/src/fasta.zig --- a/src/fasta.zig +++ b/src/fasta.zig @@ -19,12 +19,12 @@ } if (strings.equals(arg, "-h")) { std.debug.print("Usage: pdb2fasta -f -o \n", .{}); - std.os.exit(0); + std.posix.exit(0); } } if (strings.equals(args.fileName, "")) { std.debug.print("No file specified, please provide a file\n", .{}); - std.os.exit(1); + std.posix.exit(1); } return args; } diff --git a/src/main.zig b/src/main.zig --- a/src/main.zig +++ b/src/main.zig @@ -37,12 +37,12 @@ if (strings.equals(arg, "--json")) args.json = true; if (strings.equals(arg, "-h")) { std.debug.print("Usage: exe -r -f -o \n", .{}); - std.os.exit(0); + std.posix.exit(0); } } if (strings.equals(args.fileName, "")) { std.debug.print("No file specified, please provide a file\n", .{}); - std.os.exit(1); + std.posix.exit(1); } return args; } @@ -76,7 +76,7 @@ } else { try writer.print("{}\n", .{pdb}); } - std.os.exit(0); + std.posix.exit(0); } var timer = try std.time.Timer.start(); -- tangled.sh