2017-04-19 14:00:12 -04:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2017-05-04 14:05:06 -04:00
|
|
|
|
2021-10-04 23:47:27 -07: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
|
|
|
|
2022-02-03 15:27:01 -07:00
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
2017-11-24 14:56:05 -05:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2022-05-28 11:44:53 +02:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
2020-01-05 02:01:28 -05:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
2020-01-05 02:01:28 -05:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2019-09-22 14:40:54 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-18 07:02:10 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-15 17:56:51 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-15 17:56:51 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-06 17:53:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
Add/fix missing WASI functionality to pass libstd tests
This rather large commit adds/fixes missing WASI functionality
in `libstd` needed to pass the `libstd` tests. As such, now by
default tests targeting `wasm32-wasi` target are enabled in
`test/tests.zig` module. However, they can be disabled by passing
the `-Dskip-wasi=true` flag when invoking the `zig build test`
command. When the flag is set to `false`, i.e., when WASI tests are
included, `wasmtime` with `--dir=.` is used as the default testing
command.
Since the majority of `libstd` tests were relying on `fs.cwd()`
call to get current working directory handle wrapped in `Dir`
struct, in order to make the tests WASI-friendly, `fs.cwd()`
call was replaced with `testing.getTestDir()` function which
resolved to either `fs.cwd()` for non-WASI targets, or tries to
fetch the preopen list from the WASI runtime and extract a
preopen for '.' path.
The summary of changes introduced by this commit:
* implement `Dir.makeDir` and `Dir.openDir` targeting WASI
* implement `Dir.deleteFile` and `Dir.deleteDir` targeting WASI
* fix `os.close` and map errors in `unlinkat`
* move WASI-specific `mkdirat` and `unlinkat` from `std.fs.wasi`
to `std.os` module
* implement `lseek_{SET, CUR, END}` targeting WASI
* implement `futimens` targeting WASI
* implement `ftruncate` targeting WASI
* implement `readv`, `writev`, `pread{v}`, `pwrite{v}` targeting WASI
* make sure ANSI escape codes are _not_ used in stderr or stdout
in WASI, as WASI always sanitizes stderr, and sanitizes stdout if
fd is a TTY
* fix specifying WASI rights when opening/creating files/dirs
* tweak `AtomicFile` to be WASI-compatible
* implement `os.renameatWasi` for WASI-compliant `os.renameat` function
* implement sleep() targeting WASI
* fix `process.getEnvMap` targeting WASI
2020-05-05 17:23:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-07-27 08:59:34 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add/fix missing WASI functionality to pass libstd tests
This rather large commit adds/fixes missing WASI functionality
in `libstd` needed to pass the `libstd` tests. As such, now by
default tests targeting `wasm32-wasi` target are enabled in
`test/tests.zig` module. However, they can be disabled by passing
the `-Dskip-wasi=true` flag when invoking the `zig build test`
command. When the flag is set to `false`, i.e., when WASI tests are
included, `wasmtime` with `--dir=.` is used as the default testing
command.
Since the majority of `libstd` tests were relying on `fs.cwd()`
call to get current working directory handle wrapped in `Dir`
struct, in order to make the tests WASI-friendly, `fs.cwd()`
call was replaced with `testing.getTestDir()` function which
resolved to either `fs.cwd()` for non-WASI targets, or tries to
fetch the preopen list from the WASI runtime and extract a
preopen for '.' path.
The summary of changes introduced by this commit:
* implement `Dir.makeDir` and `Dir.openDir` targeting WASI
* implement `Dir.deleteFile` and `Dir.deleteDir` targeting WASI
* fix `os.close` and map errors in `unlinkat`
* move WASI-specific `mkdirat` and `unlinkat` from `std.fs.wasi`
to `std.os` module
* implement `lseek_{SET, CUR, END}` targeting WASI
* implement `futimens` targeting WASI
* implement `ftruncate` targeting WASI
* implement `readv`, `writev`, `pread{v}`, `pwrite{v}` targeting WASI
* make sure ANSI escape codes are _not_ used in stderr or stdout
in WASI, as WASI always sanitizes stderr, and sanitizes stdout if
fd is a TTY
* fix specifying WASI rights when opening/creating files/dirs
* tweak `AtomicFile` to be WASI-compatible
* implement `os.renameatWasi` for WASI-compliant `os.renameat` function
* implement sleep() targeting WASI
* fix `process.getEnvMap` targeting WASI
2020-05-05 17:23:49 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-25 03:43:21 -05:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-30 16:13:33 +01:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-25 03:43:21 -05:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-30 16:13:33 +01:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-11-30 16:13:33 +01:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-06-06 11:12:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-30 16:13:33 +01:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-09-07 10:44:21 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2020-02-20 18:31:17 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2020-02-20 18:31:17 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2020-04-03 18:36:13 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2020-02-20 18:31:17 -05:00
|
|
|
|
2020-02-19 21:30:36 -05:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-08-31 10:36:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-02 16:33:07 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-08-31 10:36:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-02 16:33:07 -07:00
|
|
|
|
2020-04-21 18:42:21 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-04-21 18:42:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-15 18:59:59 -07:00
|
|
|
|
2020-04-21 18:42:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-08-31 10:36:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-02 16:33:07 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-08-31 10:36:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-02 16:33:07 -07:00
|
|
|
|
2020-04-03 18:36:13 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-04-03 18:36:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-15 18:59:59 -07:00
|
|
|
|
2020-04-03 18:36:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-04-20 22:08:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-04-20 22:08:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-15 19:25:26 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-12-15 19:25:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-20 22:08:19 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-04-02 19:48:48 -04:00
|
|
|
|
2022-10-11 11:11:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-02 19:48:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-17 00:06:19 -05:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-04-03 11:02:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-17 00:06:19 -05:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-03-03 09:44:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-17 00:06:19 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
2020-10-12 14:29:43 +05:30
|
|
|
|
2022-05-15 17:56:51 +02:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2021-12-02 00:11:29 +01:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2021-12-02 00:11:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-15 17:56:51 +02:00
|
|
|
|
2021-12-02 00:11:29 +01:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:00:36 +02:00
|
|
|
|
|
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-27 18:20:17 +02:00
|
|
|
|
|
|
|
|
|
2019-09-21 23:00:36 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-11 19:13:59 +02:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-10-11 19:13:59 +02:00
|
|
|
|
|
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2019-10-09 22:49:33 +02:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2019-09-22 19:11:41 -04:00
|
|
|
|
2019-09-22 14:41:47 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-22 14:41:47 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2020-01-22 17:13:31 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-08-30 14:55:26 -04:00
|
|
|
|
|
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
|
|
|
|
|
2018-07-11 19:38:01 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-11 19:38:01 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2022-07-20 21:51:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2018-07-18 10:28:14 +02:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2022-07-20 21:51:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-28 11:44:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2022-05-28 11:44:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2022-05-28 11:44:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-17 17:08:56 -04:00
|
|
|
|
2021-06-19 21:10:22 -04:00
|
|
|
|
|
|
|
|
|
2018-09-17 17:08:56 -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
|
|
|
|
2019-11-27 03:30:39 -05:00
|
|
|
|
2019-05-26 13:37:34 -04:00
|
|
|
|
2018-09-17 17:08:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-11 19:38:01 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-11 19:38:01 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
2021-09-24 13:39:20 -04:00
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
2017-11-24 14:56:05 -05:00
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-12-08 13:46:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-12-08 13:46:05 -07:00
|
|
|
|
2020-01-02 22:45:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-14 21:21:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2019-05-14 21:21:59 -04:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
2019-05-14 21:21:59 -04:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-09-09 17:57:32 -04:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2019-09-09 17:57:32 -04:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
2019-05-14 21:21:59 -04:00
|
|
|
|
2017-04-20 02:26:36 -04:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-22 14:40:54 -04:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
|
|
|
|
|
2019-09-22 14:40:54 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
2022-08-22 14:10:45 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2022-08-22 14:10:45 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-11 12:56:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-30 03:21:18 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-11 12:56:46 -07:00
|
|
|
|
|
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-26 01:18:23 -05:00
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-25 23:57:47 -04:00
|
|
|
|
2022-01-24 11:15:32 -07:00
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-07 23:16:42 +02:00
|
|
|
|
|
|
|
|
|
2022-04-21 20:28:36 -07:00
|
|
|
|
|
|
|
|
|
2019-09-21 23:55:56 -04:00
|
|
|
|
|
|
|
|
|
2017-04-20 02:26:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-15 19:12:39 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-15 19:12:39 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2021-04-15 19:12:39 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-15 19:12:39 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-03-11 22:53:39 -05:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-11 11:50:48 +03:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-03 10:08:39 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-11 11:50:48 +03:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-02-26 11:28:23 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2022-02-03 15:27:01 -07:00
|
|
|
|
2022-02-05 09:09:55 -07:00
|
|
|
|
2022-02-03 15:27:01 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-29 17:07:51 +02:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-26 18:28:52 -05:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2020-01-26 18:28:52 -05:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2021-01-05 20:57:18 -05:00
|
|
|
|
2020-02-07 16:11:57 +11:00
|
|
|
|
2021-01-05 20:57:18 -05:00
|
|
|
|
2020-06-03 15:55:18 -06:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2020-04-01 12:44:45 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2020-02-07 16:11:57 +11:00
|
|
|
|
2021-08-06 02:01:47 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2021-02-23 21:14:50 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2020-04-01 12:44:45 -04:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2022-08-18 19:40:08 -07:00
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2020-04-01 12:44:45 -04:00
|
|
|
|
|
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-01 12:44:45 -04:00
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
2022-08-18 19:40:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 19:51:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-01 12:44:45 -04:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2019-05-27 20:07:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2018-07-18 10:28:14 +02:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2022-07-20 21:51:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-12 14:36:33 +02:00
|
|
|
|
2022-07-20 21:51:18 +02:00
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
|
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2022-08-17 22:17:19 -07:00
|
|
|
|
2021-08-02 10:04:54 +02:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2017-05-03 17:23:11 -04:00
|
|
|
|
2018-05-17 23:21:44 -04:00
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
|
|
|
|
|
2017-05-04 14:05:06 -04:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
2018-01-09 00:07:01 -05:00
|
|
|
|
|
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
2018-01-09 00:07:01 -05:00
|
|
|
|
|
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
2018-01-09 00:07:01 -05:00
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
|
|
|
|
|
2018-01-09 00:07:01 -05:00
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
|
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2022-06-20 17:29:00 +02:00
|
|
|
|
|
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
|
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
2022-07-20 21:51:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
2022-07-21 22:44:11 -07:00
|
|
|
|
2021-05-03 08:48:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
|
|
|
|
|
2019-07-16 12:15:46 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2018-07-18 10:28:14 +02:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-03 17:23:11 -04:00
|
|
|
|
2018-05-17 23:21:44 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-02 17:34:21 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
2017-04-21 01:56:12 -04:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
2022-07-21 22:44:11 -07:00
|
|
|
|
2017-04-19 14:00:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-19 16:59:20 -04:00
|
|
|
|
2018-11-13 05:08:37 -08:00
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
|
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-13 05:08:37 -08:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-13 05:08:37 -08:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2018-11-13 05:08:37 -08:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-13 05:08:37 -08:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2018-05-31 10:56:59 -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-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2018-01-22 22:24:07 -05: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-01-22 22:24:07 -05:00
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2020-05-25 11:36:12 +03:00
|
|
|
|
2018-01-22 22:24:07 -05: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-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05: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-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2018-01-22 22:24:07 -05: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-02-09 18:27:50 -05:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2019-05-25 13:43:52 +02:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2019-12-08 22:53:51 -05:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-09 14:55:51 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
|
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-03 16:13:28 -05:00
|
|
|
|
2018-06-21 00:40:21 +09:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2019-12-09 14:55:51 -05:00
|
|
|
|
|
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-09 14:55:51 -05:00
|
|
|
|
2019-03-11 10:29:57 -04:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-31 10:56:59 -04:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2020-11-26 13:28:38 +01:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
2018-05-17 23:21:44 -04:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
2020-01-05 13:08:18 -05:00
|
|
|
|
2020-09-26 21:03:38 -07:00
|
|
|
|
2020-01-05 13:08:18 -05:00
|
|
|
|
2018-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
2020-01-05 13:08:18 -05: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-01-22 22:24:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-15 17:47:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2019-03-15 17:47:47 -04:00
|
|
|
|
2021-11-30 00:13:07 -07:00
|
|
|
|
2021-03-11 22:53:39 -05:00
|
|
|
|
2022-10-21 23:01:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-22 22:00:59 +03:00
|
|
|
|
2022-10-21 23:01:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|