Delete debug line
This commit is contained in:
parent
e88741ab95
commit
9f899efb8b
@ -25,7 +25,6 @@ pub fn build(b: *std.Build) !void {
|
|||||||
else => target_query.abi,
|
else => target_query.abi,
|
||||||
.linux => b: {
|
.linux => b: {
|
||||||
const os_release = try std.fs.cwd().readFileAlloc(b.allocator, "/etc/os-release", 0xffff);
|
const os_release = try std.fs.cwd().readFileAlloc(b.allocator, "/etc/os-release", 0xffff);
|
||||||
std.debug.print("/etc/os-release:\n```\n{s}\n```\n", .{os_release});
|
|
||||||
const attribute_name = "ID=";
|
const attribute_name = "ID=";
|
||||||
const i = std.mem.indexOf(u8, os_release, attribute_name) orelse unreachable;
|
const i = std.mem.indexOf(u8, os_release, attribute_name) orelse unreachable;
|
||||||
const maybe_start_quote_index = i + attribute_name.len;
|
const maybe_start_quote_index = i + attribute_name.len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user