0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/incremental
Matthew Lugg 0978566db8 incremental: handle loss of main struct instruction
My changes to how incremental compilation handles container types mean
that, at least for now, it is possible for the ZIR `.main_struct_inst`
of a source file to be lost (this happens if the number of top-level
fields in a file changes for instance). I missed a few things which
needed changing to account for this, which could lead to crashes with
certain (trivial) changes---oops!

Adds two new incremental test cases. They are currently disabled for
wasm32-wasi-selfhosted because they both trigger a crash in the WASM
backend.
History 2026-03-12 21:27:16 +01:00
..
add_decl std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
add_decl_namespaced std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
add_remove_struct_fields incremental: handle loss of main struct instruction 2026-03-12 21:27:16 +01:00
add_remove_toplevel_fields incremental: handle loss of main struct instruction 2026-03-12 21:27:16 +01:00
analysis_error_and_syntax_error Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
bad_import std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_embed_file std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_enum_tag_type tests: get cases passing (and a few other bits) 2026-03-10 10:26:14 +00:00
change_exports std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_fn_type std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_generic_line_number std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_line_number std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_module Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
change_panic_handler std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_panic_handler_explicit std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_shift_op std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_struct_same_fields std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_zon_file std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
change_zon_file_no_result_type std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
compile_error_then_log Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
compile_log std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
delete_comptime_decls Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
dependency_on_type_of_inferred_global Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
fix_astgen_failure std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
function_becomes_inline std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
hello std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
make_decl_pub std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
modify_inline_fn std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
move_src std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
no_change_preserves_tag_names std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
recursive_function_becomes_non_recursive std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
remove_enum_field std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
remove_invalid_union_backing_enum Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
temporary_parse_error Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
type_becomes_comptime_only Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
type_dependency_loop compiler: make dependency loop errors good 2026-03-10 10:26:09 +00:00
unreferenced_error std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00