Function addSearchPrefix [src]

Prototype

pub fn addSearchPrefix(b: *Build, search_prefix: []const u8) void

Parameters

b: *Buildsearch_prefix: []const u8

Source

pub fn addSearchPrefix(b: *Build, search_prefix: []const u8) void { b.search_prefixes.append(b.allocator, b.dupePath(search_prefix)) catch @panic("OOM"); }