This website requires JavaScript.
About
Status
₊˚⊹Discord
Explore
Register
Sign in
Reference in a new issue
Blame
Copy permalink
Reference in a new issue
Copy permalink
DKB
/
zig
Star
0
Fork
You've already forked zig
0
mirror of
https://codeberg.org/ziglang/zig
synced
2026-11-18 07:05:05 +00:00
Code
Issues
Releases
Packages
Activity
70f2bb03fd
zig
/
std
/
special
/
panic.zig
21 lines
724 B
Raw
Normal View
History
remove zigrt adds test case for #394 partially reverts a32b5929ccf8cbf79396d8924097a1a911985dac
2017-09-30 18:58:41 -04:00
*WIP* proof of concept error return traces
2018-01-12 02:12:11 -05:00
remove zigrt adds test case for #394 partially reverts a32b5929ccf8cbf79396d8924097a1a911985dac
2017-09-30 18:58:41 -04:00
syntax: functions require return type. remove `->` The purpose of this is: * Only one way to do things * Changing a function with void return type to return a possible error becomes a 1 character change, subtly encouraging people to use errors. See #632 Here are some imperfect sed commands for performing this update: remove arrow: ``` sed -i 's/\(\bfn\b.*\)-> /\1/g' $(find . -name "*.zig") ``` add void: ``` sed -i 's/\(\bfn\b.*\))\s*{/\1) void {/g' $(find ../ -name "*.zig") ``` Some cleanup may be necessary, but this should do the bulk of the work.
2018-01-25 04:10:11 -05:00
add new kind of test: generating .h files. and more * docgen supports obj_err code kind for demonstrating errors without explicit test cases * add documentation for `extern enum`. See #367 * remove coldcc keyword and add @setIsCold. See #661 * add compile errors for non-extern struct, enum, unions in function signatures * add .h file generation for extern struct, enum, unions
2018-01-22 22:24:07 -05:00
Adding zen support
2018-01-07 04:43:08 -05:00
refactor stack trace code to remove global state
2018-03-09 22:21:13 -05:00
Adding zen support
2018-01-07 04:43:08 -05:00
remove zigrt adds test case for #394 partially reverts a32b5929ccf8cbf79396d8924097a1a911985dac
2017-09-30 18:58:41 -04:00