| author | |
| committer | |
| log | 1f6d82ec01b09b7a8a6285810dd4c68624621df3 |
| tree | 899c0b8478f032d680d87c0e0a4da096af35fb52 |
| parent | 3a47bc715404752e7f4156177bfb7975cfa06aec |
Followup to 0a868dacdd31b7d5c529a332da718683477a2505 .
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>3 files changed, 6 insertions(+), 11 deletions(-)
lib/std/cstr.zig deleted-3| ... | @@ -1,3 +0,0 @@ | ||
| 1 | pub const line_sep = @compileError("deprecated; choose correct end-of-line sequence of characters by yourself instead"); | ||
| 2 | pub const cmp = @compileError("deprecated; use `std.mem.orderZ` instead"); | ||
| 3 | pub const addNullByte = @compileError("deprecated; use `allocator.dupeZ(u8, stuff)` instead"); | ||
lib/std/std.zig-2| ... | @@ -80,8 +80,6 @@ pub const comptime_string_map = @import("comptime_string_map.zig"); | ... | @@ -80,8 +80,6 @@ pub const comptime_string_map = @import("comptime_string_map.zig"); |
| 80 | /// Cryptography. | 80 | /// Cryptography. |
| 81 | pub const crypto = @import("crypto.zig"); | 81 | pub const crypto = @import("crypto.zig"); |
| 82 | 82 | ||
| 83 | pub const cstr = @import("cstr.zig"); | ||
| 84 | |||
| 85 | /// Debug printing, allocation and other debug helpers. | 83 | /// Debug printing, allocation and other debug helpers. |
| 86 | pub const debug = @import("debug.zig"); | 84 | pub const debug = @import("debug.zig"); |
| 87 | 85 |
lib/std/zig/parser_test.zig+6-6| ... | @@ -2109,14 +2109,14 @@ test "zig fmt: multiline string parameter in fn call with trailing comma" { | ... | @@ -2109,14 +2109,14 @@ test "zig fmt: multiline string parameter in fn call with trailing comma" { |
| 2109 | try testCanonical( | 2109 | try testCanonical( |
| 2110 | \\fn foo() void { | 2110 | \\fn foo() void { |
| 2111 | \\ try stdout.print( | 2111 | \\ try stdout.print( |
| 2112 | \\ \\ZIG_CMAKE_BINARY_DIR {} | 2112 | \\ \\ZIG_CMAKE_BINARY_DIR {s} |
| 2113 | \\ \\ZIG_C_HEADER_FILES {} | 2113 | \\ \\ZIG_C_HEADER_FILES {s} |
| 2114 | \\ \\ZIG_DIA_GUIDS_LIB {} | 2114 | \\ \\ZIG_DIA_GUIDS_LIB {s} |
| 2115 | \\ \\ | 2115 | \\ \\ |
| 2116 | \\ , | 2116 | \\ , |
| 2117 | \\ std.cstr.toSliceConst(c.ZIG_CMAKE_BINARY_DIR), | 2117 | \\ std.mem.sliceTo(c.ZIG_CMAKE_BINARY_DIR, 0), |
| 2118 | \\ std.cstr.toSliceConst(c.ZIG_CXX_COMPILER), | 2118 | \\ std.mem.sliceTo(c.ZIG_CXX_COMPILER, 0), |
| 2119 | \\ std.cstr.toSliceConst(c.ZIG_DIA_GUIDS_LIB), | 2119 | \\ std.mem.sliceTo(c.ZIG_DIA_GUIDS_LIB, 0), |
| 2120 | \\ ); | 2120 | \\ ); |
| 2121 | \\} | 2121 | \\} |
| 2122 | \\ | 2122 | \\ |