mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.Build.Step.Compile: remove addSystemIncludeDir, addIncludeDir, addLibPath, and addFrameworkDir (deprecated in 0.10)
Followup to d3d24874c91054a70c706fed47278c81c9ce890a. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
parent
4936453d56
commit
6078781ae5
@ -1032,11 +1032,6 @@ pub fn addObject(self: *Compile, obj: *Compile) void {
|
||||
self.linkLibraryOrObject(obj);
|
||||
}
|
||||
|
||||
pub const addSystemIncludeDir = @compileError("deprecated; use addSystemIncludePath");
|
||||
pub const addIncludeDir = @compileError("deprecated; use addIncludePath");
|
||||
pub const addLibPath = @compileError("deprecated, use addLibraryPath");
|
||||
pub const addFrameworkDir = @compileError("deprecated, use addFrameworkPath");
|
||||
|
||||
pub fn addSystemIncludePath(self: *Compile, path: []const u8) void {
|
||||
const b = self.step.owner;
|
||||
self.include_dirs.append(IncludeDir{ .raw_path_system = b.dupe(path) }) catch @panic("OOM");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user