aboutsummaryrefslogtreecommitdiff
path: root/lib/std/std.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-01-31 13:48:24 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-31 15:09:35 -0700
commit13a96165405af33fa6ef43a3ce2c1d8aea846287 (patch)
tree9c817a18375e41ac5ca7ad70c357825702fb7a16 /lib/std/std.zig
parent16cdd1297ebfac534615eaeb8439a4e1de71837c (diff)
downloadzig-13a96165405af33fa6ef43a3ce2c1d8aea846287.tar.gz
zig-13a96165405af33fa6ef43a3ce2c1d8aea846287.zip
std.Build: add deprecated declarations
These declarations are now aliases of their new APIs and marked as deprecated via doc comments: * std.build.Builder * std.build * std.Build.LibExeObjStep
Diffstat (limited to 'lib/std/std.zig')
-rw-r--r--lib/std/std.zig9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/std/std.zig b/lib/std/std.zig
index 7440b49662..40ba896569 100644
--- a/lib/std/std.zig
+++ b/lib/std/std.zig
@@ -96,13 +96,8 @@ pub const wasm = @import("wasm.zig");
pub const zig = @import("zig.zig");
pub const start = @import("start.zig");
-///// Deprecated. Use `std.Build` instead.
-///// TODO: remove this after releasing 0.11.0
-//pub const build = struct {
-// /// Deprecated. Use `std.Build` instead.
-// /// TODO: remove this after releasing 0.11.0
-// pub const Builder = Build;
-//};
+/// deprecated: use `Build`.
+pub const build = Build;
const root = @import("root");
const options_override = if (@hasDecl(root, "std_options")) root.std_options else struct {};