authorgravatar for bratishkaerik@getgoogleoff.meEric Joldasov <bratishkaerik@getgoogleoff.me> 2023-06-05 00:20:13+06:00
committergravatar for bratishkaerik@getgoogleoff.meEric Joldasov <bratishkaerik@getgoogleoff.me> 2023-06-13 23:46:58+06:00
log6078781ae52fc2c85559f622f58c303b73d8a6a5
treee7201a5c9b1d9242ae31da5ed62bd19026f53179
parent4936453d56a565c79535261bd3ee8fe35a3864fb
signaturelock-open Commit is signed but in an unrecognized format.

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>

1 files changed, 0 insertions(+), 5 deletions(-)

lib/std/Build/Step/Compile.zig-5
...@@ -1032,11 +1032,6 @@ pub fn addObject(self: *Compile, obj: *Compile) void {...@@ -1032,11 +1032,6 @@ pub fn addObject(self: *Compile, obj: *Compile) void {
1032 self.linkLibraryOrObject(obj);1032 self.linkLibraryOrObject(obj);
1033}1033}
10341034
1035pub const addSystemIncludeDir = @compileError("deprecated; use addSystemIncludePath");
1036pub const addIncludeDir = @compileError("deprecated; use addIncludePath");
1037pub const addLibPath = @compileError("deprecated, use addLibraryPath");
1038pub const addFrameworkDir = @compileError("deprecated, use addFrameworkPath");
1039
1040pub fn addSystemIncludePath(self: *Compile, path: []const u8) void {1035pub fn addSystemIncludePath(self: *Compile, path: []const u8) void {
1041 const b = self.step.owner;1036 const b = self.step.owner;
1042 self.include_dirs.append(IncludeDir{ .raw_path_system = b.dupe(path) }) catch @panic("OOM");1037 self.include_dirs.append(IncludeDir{ .raw_path_system = b.dupe(path) }) catch @panic("OOM");