diff options
| author | tgschultz <tgschultz@gmail.com> | 2020-11-16 17:51:54 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 18:51:54 -0500 |
| commit | 48d60834fd61404ea009f7f970775f9c59de1240 (patch) | |
| tree | bea3b1427db82fc781e216933fe44dc5b20fdb3f /lib/std/debug.zig | |
| parent | d9c36cb2506f1b8cb30c7e9e108c6005eea7cf66 (diff) | |
| download | zig-48d60834fd61404ea009f7f970775f9c59de1240.tar.gz zig-48d60834fd61404ea009f7f970775f9c59de1240.zip | |
Move leb128 and remove trivial *mem functions as discussed in #5588 (#6876)
* Move leb128 out of debug and remove trivial *mem functions as discussed in #5588
* Turns out one of the *Mem functions was used by MachO. Replaced with trivial use of FixedBufferStream.
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index bb769a03c1..a135dde0ff 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -22,8 +22,6 @@ const maxInt = std.math.maxInt; const File = std.fs.File; const windows = std.os.windows; -pub const leb = @import("debug/leb128.zig"); - pub const runtime_safety = switch (builtin.mode) { .Debug, .ReleaseSafe => true, .ReleaseFast, .ReleaseSmall => false, @@ -1843,8 +1841,3 @@ pub fn dumpStackPointerAddr(prefix: []const u8) void { ); std.debug.warn("{} sp = 0x{x}\n", .{ prefix, sp }); } - -// Reference everything so it gets tested. -test "" { - _ = leb; -} |
