zig/test
Andrew Kelley 105db13536 std.Build: implement --host-target, --host-cpu, --host-dynamic-linker
This also makes a long-overdue change of extracting common state from
Build into a shared Graph object.

Getting the semantics right for these flags turned out to be quite
tricky. In the end it works like this:
* The override only happens when the target is fully native, with no
  additional query parameters, such as versions or CPU features added.
* The override affects the resolved Target but leaves the original Query
  unmodified.
* The "is native?" detection logic operates on the original, unmodified
  query. This makes it possible to provide invalid host target
  information, causing confusing errors to occur. Don't do that.

There are some minor breaking changes to std.Build API such as the fact
that `b.zig_exe` is now moved to `b.graph.zig_exe`, as well as a handful
of other similar flags.
2024-02-02 20:43:01 -07:00
..
behavior Sema: fix union init with zero size field 2024-01-30 12:20:23 +02:00
c_abi Correct expected/actual parameter order of some assertions 2024-01-03 21:20:49 +01:00
cases Use mem.zeroes for empty union initializer list 2024-01-31 06:38:44 +02:00
link cli+build: handle -ObjC flag and route it to MachO linker 2024-02-02 22:00:16 +01:00
src std.Build: implement --host-target, --host-cpu, --host-dynamic-linker 2024-02-02 20:43:01 -07:00
standalone Add escaped character processing 2024-01-26 13:33:17 -05:00
assemble_and_link.zig
behavior.zig LLVM: fix lowering of extern anyopaque 2024-01-11 01:00:49 -08:00
cases.zig
cbe.zig AstGen: detect duplicate field names 2024-01-20 17:23:47 +00:00
compare_output.zig
compile_errors.zig
gen_h.zig
link.zig test/link/macho: migrate all tests to the new test matrix 2024-01-24 12:34:40 +01:00
llvm_targets.zig
nvptx.zig
run_translated_c.zig
stack_traces.zig test/stack_traces.zig: add err union switch case 2024-01-18 15:10:32 +11:00
standalone.zig remove tool: update-license-headers 2024-01-07 17:02:17 -07:00
tests.zig std.Build: implement --host-target, --host-cpu, --host-dynamic-linker 2024-02-02 20:43:01 -07:00
translate_c.zig