Adapt myid to zig 0.15.1
This commit is contained in:
2
packages/myid/.gitignore
vendored
2
packages/myid/.gitignore
vendored
@@ -1,6 +1,4 @@
|
||||
.zig-cache
|
||||
*.sock
|
||||
*.sqlite3
|
||||
*.sqlite3-shm
|
||||
*.sqlite3-wal
|
||||
zig-out
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
.{
|
||||
.name = .myid,
|
||||
.version = "0.0.0",
|
||||
.dependencies = .{
|
||||
.sqlite = .{
|
||||
.url = "git+https://github.com/vrischmann/zig-sqlite#be8b4965b46fc1a7a819bf3cba09f370c0e9c64c",
|
||||
.hash = "sqlite-3.48.0-F2R_a9GLDgAXT-c49TfkFMt6yPOMQAYfp4ig8bRNdZs4",
|
||||
},
|
||||
},
|
||||
.fingerprint = 0x4dc8d6b2af89dd8f, // Changing this has security and trust implications.
|
||||
.minimum_zig_version = "0.15.0-dev.919+044ccf413",
|
||||
.minimum_zig_version = "0.15.1",
|
||||
.paths = .{
|
||||
"src",
|
||||
"build.zig",
|
||||
"build.zig.zon",
|
||||
"src",
|
||||
},
|
||||
.fingerprint = 0x4dc8d6b2af89dd8f,
|
||||
.dependencies = .{
|
||||
.sqlite = .{
|
||||
.url = "git+https://github.com/vrischmann/zig-sqlite#6d90ee900d186a7fbb6066f28ee13beeaf8be345",
|
||||
.hash = "sqlite-3.48.0-F2R_a5yODgDFvwwsytm7ZONcSqYBo3qv1PmXOtw3tqLA",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -67,7 +67,9 @@ pub fn main() !void {
|
||||
}
|
||||
|
||||
if (show_help) {
|
||||
const stderr = std.io.getStdErr().writer();
|
||||
var buf: [4096]u8 = undefined;
|
||||
var stderr_writer = std.fs.File.stderr().writer(&buf);
|
||||
const stderr = &stderr_writer.interface;
|
||||
try stderr.print(
|
||||
\\Usage: myid [flags]
|
||||
\\
|
||||
@@ -92,6 +94,7 @@ pub fn main() !void {
|
||||
.default_database_path = default.database_path,
|
||||
.default_socket_path = default.socket_path,
|
||||
});
|
||||
try stderr.flush();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user