0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/std
Andrew Kelley 07a71fc322 improved behavior on debug safety crash
* instead of emitting a breakpoint for a debug safety crash,
   zig calls a panic function which prints an error message
   and a stack trace and then calls abort.
 * on freestanding OS, this panic function has a default
   implementation of a simple infinite loop.
 * users can override the panic implementation by providing
   `pub fn panic(message: []const u8) -> unreachable { }`
 * workaround for LLVM segfaulting when you try to use cold
   calling convention on ARM.

closes #245
History 2017-02-06 03:10:32 -05:00
..
bootstrap.zig improved behavior on debug safety crash 2017-02-06 03:10:32 -05:00
builtin.zig memset and memcpy implementations need not return dest 2017-02-04 23:04:07 -05:00
compiler_rt.zig fix compiler rt 2017-01-05 04:20:07 -05:00
cstr.zig pass cannot assign to constant test 2017-01-05 18:50:36 -05:00
darwin.zig update more std library to new zig 2016-12-21 23:34:14 -05:00
darwin_x86_64.zig update more std library to new zig 2016-12-21 23:34:14 -05:00
debug.zig improved behavior on debug safety crash 2017-02-06 03:10:32 -05:00
dwarf.zig stack trace is able to figure out compilation unit 2016-09-23 02:00:23 -04:00
elf.zig mem.free no longer requires explicit type argument 2017-01-23 00:11:21 -05:00
empty.zig recognize ar program and pass --gc-sections to ld 2016-05-11 14:44:10 -07:00
endian.zig use comptime instead of inline for var and params 2017-01-22 19:51:37 -05:00
errno.zig re-add errno.zig 2016-01-07 03:22:53 -07:00
hash_map.zig mem.free no longer requires explicit type argument 2017-01-23 00:11:21 -05:00
index.zig Merge branch 'master' into ir-merge 2017-01-16 14:23:32 -05:00
io.zig remove ability to mark if and switch as inline 2017-02-02 13:23:18 -05:00
linux.zig IR: progress toward compiling standard library 2016-12-31 17:10:29 -05:00
linux_i386.zig unsigned integers for sizes of things 2016-07-26 20:40:11 -07:00
linux_x86_64.zig hello.zig working with all structs anonymous 2016-12-18 17:24:52 -05:00
list.zig mem.free no longer requires explicit type argument 2017-01-23 00:11:21 -05:00
math.zig use comptime instead of inline for var and params 2017-01-22 19:51:37 -05:00
mem.zig mem.free no longer requires explicit type argument 2017-01-23 00:11:21 -05:00
net.zig IR: std makes it to codegen 2016-12-31 18:25:10 -05:00
os.zig IR: progress toward compiling standard library 2016-12-31 17:10:29 -05:00
panic.zig improved behavior on debug safety crash 2017-02-06 03:10:32 -05:00
rand.zig use comptime instead of inline for var and params 2017-01-22 19:51:37 -05:00
rand_test.zig std: add tests for mt32 and mt64 2016-07-28 20:14:57 -07:00
sort.zig use comptime instead of inline for var and params 2017-01-22 19:51:37 -05:00
str.zig use comptime instead of inline for var and params 2017-01-22 19:51:37 -05:00
test_runner.zig use printf in test runner code 2017-02-05 16:09:33 -05:00
test_runner_libc.zig std: conform to style guidelines 2016-08-16 22:42:50 -07:00
test_runner_nolibc.zig std: conform to style guidelines 2016-08-16 22:42:50 -07:00