0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Andrew Kelley dcec4d55e3 eliminate stderr usage in std.Build make() functions
* Eliminate all uses of `std.debug.print` in make() functions, instead
  properly using the step failure reporting mechanism.
* Introduce the concept of skipped build steps. These do not cause the
  build to fail, and they do allow their dependants to run.
* RunStep gains a new flag, `skip_foreign_checks` which causes the
  RunStep to be skipped if stdio mode is `check` and the binary cannot
  be executed due to it being a foreign executable.
  - RunStep is improved to automatically use known interpreters to
    execute binaries if possible (integrating with flags such as
    -fqemu and -fwasmtime). It only does this after attempting a native
    execution and receiving a "exec file format" error.
  - Update RunStep to use an ArrayList for the checks rather than this
    ad-hoc reallocation/copying mechanism.
  - `expectStdOutEqual` now also implicitly adds an exit_code==0 check
    if there is not already an expected termination. This matches
    previously expected behavior from older API and can be overridden by
    directly setting the checks array.
* Add `dest_sub_path` to `InstallArtifactStep` which allows choosing an
  arbitrary subdirectory relative to the prefix, as well as overriding
  the basename.
  - Delete the custom InstallWithRename step that I found deep in the
    test/ directory.
* WriteFileStep will now update its step display name after the first
  file is added.
* Add missing stdout checks to various standalone test case build
  scripts.
History 2023-03-15 10:48:13 -07:00
..
compiler_rt compiler_rt: fix rare case in udivei4 2023-03-07 03:00:08 -05:00
docs Zir: move set_cold from Inst.Tag to Inst.Extended 2023-03-03 21:16:21 +01:00
include C backend: improve ergonomics of zig.h a little bit 2022-11-13 16:50:16 -07:00
init-exe fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
init-lib fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
libc mingw: stop using K&R-style function definitions 2023-02-01 22:11:16 -05:00
libcxx dragonfly: port libc++ 2023-01-02 19:18:33 -05:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std eliminate stderr usage in std.Build make() functions 2023-03-15 10:48:13 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig eliminate stderr usage in std.Build make() functions 2023-03-15 10:48:13 -07:00
c.zig Add support for mips64/mips64el 2023-02-04 15:19:53 -05:00
compiler_rt.zig compiler_rt: declutter int.zig, add mulXi3 tests (#14623) 2023-02-24 13:27:02 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
zig.h zig.h: implement zig_breakpoint and zig_trap for more targets 2023-03-07 12:46:35 -05:00