2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-16 19:16:08 -05:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
2018-09-10 09:46:15 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 22:53:35 -05:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2020-03-11 19:33:12 -04:00
|
|
|
|
2018-09-09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-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 22:53:35 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 17:30:45 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 22:53:35 -05:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 09:46:15 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-16 19:33:58 +01:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2019-03-04 22:15:53 -05:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-04 22:15:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2018-09-13 11:24:57 -04:00
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-13 23:34:01 +09:00
|
|
|
|
2018-09-13 11:24:57 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-11-26 20:04:35 -05:00
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-11-26 20:04:35 -05:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2018-11-26 20:04:35 -05:00
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-11-26 20:04:35 -05:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
2019-04-13 12:33:29 +02:00
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2019-04-02 15:29:16 -04:00
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-25 14:03:36 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-09 19:16:51 -05:00
|
|
|
|
2019-05-13 12:15:55 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
2019-05-13 12:15:55 -04:00
|
|
|
|
2019-02-25 14:03:36 -05:00
|
|
|
|
|
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-29 14:39:13 -04:00
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
2019-03-07 14:30:50 -05:00
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
2019-03-07 14:30:50 -05:00
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-25 14:03:36 -05:00
|
|
|
|
|
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-29 14:39:13 -04:00
|
|
|
|
2019-05-27 19:47:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-25 14:03:36 -05:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 10:26:08 -04:00
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
2018-09-18 15:31:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-09 18:07:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
|
|
|
|
|
2018-09-10 17:30:45 -04:00
|
|
|
|
2018-09-18 15:31:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-13 12:31:45 +02:00
|
|
|
|
2018-09-10 13:46:23 -04:00
|
|
|
|
2019-02-25 14:03:36 -05:00
|
|
|
|