zig/lib/std
Andrew Kelley 20510d209b GeneralPurposeAllocator: use std.log instead of std.debug.print
`std.builtin.StackTrace` gains a `format` function.

GeneralPurposeAllocator uses `std.log.err` instead of directly printing
to stderr. Some errors are recoverable.

The test runner is modified to fail the test run if any log messages of
"err" or worse severity are encountered.

self-hosted is modified to always print log messages of "err" severity
or worse even if they have not been explicitly enabled.

This makes GeneralPurposeAllocator available on the freestanding target.
2020-08-11 02:01:32 -04:00
..
atomic improvements & fixes for general purpose allocator integration 2020-08-07 23:26:58 -07:00
build elf: Iterate over headers w/o need for allocator 2020-08-01 16:01:48 +00:00
c translate-c: use ArrayList for macro tokens 2020-07-27 15:38:56 +03:00
crypto remove unnecessary operations 2020-08-01 17:15:53 +03:00
debug std: add function for writing fixed width ULEB128 2020-08-02 11:09:35 -07:00
event run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
fmt
fs Move delete file logic into windows.DeleteFile fn 2020-07-31 16:31:51 +02:00
hash make use of hasUniqueRepresentation to speed up hashing facilities, fastpath in getAutoHashFn is particularly important for hashmap performance 2020-07-26 23:04:33 +02:00
heap GeneralPurposeAllocator: use std.log instead of std.debug.print 2020-08-11 02:01:32 -04:00
http std: don't store allocator inside of std.http.HeaderEntry 2020-07-13 00:38:59 +10:00
io update compile error tests and some doc comments 2020-07-12 00:54:07 +03:00
json run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
math Fix bug in big.int.Mutable.toManaged() and add tests 2020-07-27 07:16:44 +00:00
mem std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00
meta Merge pull request #5932 from Sahnvour/hash 2020-07-27 07:12:54 +00:00
net
os Convert prefix from u8 to u16 programmatically 2020-08-10 20:44:22 +02:00
rand
special GeneralPurposeAllocator: use std.log instead of std.debug.print 2020-08-11 02:01:32 -04:00
target use typeInfo instead of hardcoded tables in std.Target 2020-07-11 20:11:20 +03:00
testing std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00
time
unicode
valgrind
zig stage2: add the .debug_line header and associated data types 2020-08-02 12:02:43 -07:00
array_list.zig std: introduce GeneralPurposeAllocator 2020-08-07 22:45:45 -07:00
array_list_sentineled.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
ascii.zig
atomic.zig
base64.zig
bloom_filter.zig
buf_map.zig Merge pull request #5786 from ziglang/std-hash-map 2020-07-05 21:12:20 +00:00
buf_set.zig update std lib to new hash map API 2020-07-05 21:11:42 +00:00
build.zig zig build: fix addBuildOption for []const u8 and ?[]const u8 2020-08-04 22:55:45 -07:00
builtin.zig GeneralPurposeAllocator: use std.log instead of std.debug.print 2020-08-11 02:01:32 -04:00
c.zig translate-c: use ArrayList for macro tokens 2020-07-27 15:38:56 +03:00
cache_hash.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
child_process.zig Fix opening NUL device on Windows 2020-07-31 19:16:04 +02:00
coff.zig
comptime_string_map.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
crypto.zig
cstr.zig
debug.zig improvements & fixes for general purpose allocator integration 2020-08-07 23:26:58 -07:00
dwarf.zig stage2: add DWARF info for the main compilation unit 2020-07-31 06:48:17 +00:00
dwarf_bits.zig std: dwarf_bits correction 2020-08-10 17:05:39 -07:00
dynamic_library.zig
elf.zig elf: Iterate over headers w/o need for allocator 2020-08-01 16:01:48 +00:00
event.zig
fifo.zig Use writer for LinearFifo instead of deprecated outStream 2020-07-27 17:05:39 +03:00
fmt.zig Uses getWritten instead of .pos + slicing 2020-08-09 17:40:58 +02:00
fs.zig Move delete file logic into windows.DeleteFile fn 2020-07-31 16:31:51 +02:00
hash.zig
hash_map.zig .debug_line incremental compilation initial support 2020-08-02 19:25:26 -07:00
heap.zig std.heap.page_allocator: Windows support for growing without remapping 2020-08-08 13:04:30 -07:00
http.zig
io.zig
json.zig zig fmt 2020-08-04 23:04:20 -07:00
linked_list.zig
log.zig Fix std.log example to make the log handler print the newline 2020-07-22 22:08:08 +00:00
macho.zig
math.zig utilize math.ceilPowerOfTwo 2020-08-08 00:39:46 -07:00
mem.zig std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00
meta.zig add std.meta.TrailerFlags API 2020-07-14 17:19:17 -07:00
mutex.zig improvements & fixes for general purpose allocator integration 2020-08-07 23:26:58 -07:00
net.zig zig fmt 2020-08-04 23:04:20 -07:00
once.zig improvements & fixes for general purpose allocator integration 2020-08-07 23:26:58 -07:00
os.zig Redo GetFinalPathNameByHandle using DeviceIoControl 2020-08-07 11:33:05 +02:00
packed_int_array.zig
pdb.zig
priority_queue.zig std.mem.dupe is deprecated, move all references in std 2020-07-04 21:40:06 +03:00
process.zig std.mem.dupe is deprecated, move all references in std 2020-07-04 21:40:06 +03:00
progress.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
rand.zig
rb.zig
reset_event.zig
segmented_list.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
sort.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
spinlock.zig
start.zig
start_windows_tls.zig
std.zig improvements & fixes for general purpose allocator integration 2020-08-07 23:26:58 -07:00
target.zig self-hosted: AST flattening, astgen improvements, result locations, and more 2020-07-23 23:05:26 -07:00
testing.zig restore previous behavior of allowing std.testing.allocator 2020-08-08 01:21:08 -07:00
thread.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
time.zig
unicode.zig
valgrind.zig
zig.zig stage2 .debug_line stepping with gdb is working 2020-08-03 21:01:06 -07:00