62c25af802
* add @noInlineCall - see #640 This fixes a crash in --release-safe and --release-fast modes where the optimizer inlines everything into _start and clobbers the command line argument data. If we were able to verify that the user's code never reads command line args, we could leave off this "no inline" attribute. * add i29 and u29 primitive types. u29 is the type of alignment, so it makes sense to be a primitive. probably in the future we'll make any `i` or `u` followed by digits into a primitive. * add `aligned` functions to Allocator interface * add `os.argsAlloc` and `os.argsFree` so that you can get a `[]const []u8`, do whatever arg parsing you want, and then free it. For now this uses the other API under the hood, but it could be reimplemented to do a single allocation. * add tests to make sure command line argument parsing works. |
||
---|---|---|
.. | ||
windows | ||
child_process.zig | ||
darwin.zig | ||
darwin_errno.zig | ||
get_user_id.zig | ||
index.zig | ||
linux.zig | ||
linux_errno.zig | ||
linux_i386.zig | ||
linux_test.zig | ||
linux_x86_64.zig | ||
path.zig |