zig/std/special
Andrew Kelley 91955dee58
breaking changes to zig build API and improved caching
* in Zig build scripts, getOutputPath() is no longer a valid function
   to call, unless setOutputDir() was used, or within a custom make()
   function. Instead there is more convenient API to use which takes
   advantage of the caching system. Search this commit diff for
   `exe.run()` for an example.
 * Zig build by default enables caching. All build artifacts will go
   into zig-cache. If you want to access build artifacts in a convenient
   location, it is recommended to add an `install` step. Otherwise
   you can use the `run()` API mentioned above to execute programs
   directly from their location in the cache. Closes #330.
   `addSystemCommand` is available for programs not built with Zig
   build.
 * Please note that Zig does no cache evicting yet. You may have to
   manually delete zig-cache directories periodically to keep disk
   usage down. It's planned for this to be a simple Least Recently
   Used eviction system eventually.
 * `--output`, `--output-lib`, and `--output-h` are removed. Instead,
   use `--output-dir` which defaults to the current working directory.
   Or take advantage of `--cache on`, which will print the main output
   path to stdout, and the other artifacts will be in the same directory
   with predictable file names. `--disable-gen-h` is available when
   one wants to prevent .h file generation.
 * `@cImport` is always independently cached now. Closes #2015.
   It always writes the generated Zig code to disk which makes debug
   info and compile errors better. No more "TODO: remember C source
   location to display here"
 * Fix .d file parsing. (Fixes the MacOS CI failure)
 * Zig no longer creates "temporary files" other than inside a
   zig-cache directory.

This breaks the CLI API that Godbolt uses. The suggested new invocation
can be found in this commit diff, in the changes to `test/cli.zig`.
2019-03-08 23:23:11 -05:00
..
compiler_rt add popcountdi2 to compiler_rt 2019-03-05 23:09:00 -05:00
init-exe breaking changes to zig build API and improved caching 2019-03-08 23:23:11 -05:00
init-lib std.debug.assert: remove special case for test builds 2019-02-08 18:23:38 -05:00
bootstrap_lib.zig support building static libraries 2018-10-09 13:15:14 -04:00
bootstrap_windows_tls.zig compile error for import outside package path 2019-03-02 10:38:27 -05:00
bootstrap.zig compile error for import outside package path 2019-03-02 10:38:27 -05:00
build_runner.zig fix incorrect --help text 2018-11-19 13:26:35 -05:00
builtin.zig multi-arch glibc headers 2019-03-07 12:16:10 -05:00
compiler_rt.zig add popcountdi2 to compiler_rt 2019-03-05 23:09:00 -05:00
fmt_runner.zig fix zig fmt arg0 handled incorrectly 2019-02-23 20:25:33 -05:00
panic.zig @returnAddress and @frameAddress return usize now 2019-03-02 15:34:58 -05:00
test_runner.zig rename error.skip to error.SkipZigTest 2018-07-21 23:43:43 -04:00