Function setEnvironmentVariable [src]

Prototype

pub fn setEnvironmentVariable(run: *Run, key: []const u8, value: []const u8) void

Parameters

run: *Runkey: []const u8value: []const u8

Source

pub fn setEnvironmentVariable(run: *Run, key: []const u8, value: []const u8) void { const b = run.step.owner; const env_map = run.getEnvMap(); env_map.put(b.dupe(key), b.dupe(value)) catch @panic("unhandled error"); }