mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
9 lines
284 B
Zig
9 lines
284 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() !void {
|
|
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
|
defer _ = gpa.deinit();
|
|
const env_map = std.process.getEnvMap(gpa.allocator()) catch @panic("unable to get env map");
|
|
try std.testing.expect(env_map.count() == 0);
|
|
}
|