commit 6078781ae52fc2c85559f622f58c303b73d8a6a5 (tree)
parent 4936453d56a565c79535261bd3ee8fe35a3864fb
Author: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Date: Mon, 5 Jun 2023 00:20:13 +0600
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>
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig
@@ -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");