zig/doc/langref
mlugg c1a5caa454
compiler: combine @intCast safety checks
`castTruncatedData` was a poorly worded error (all shrinking casts
"truncate bits", it's just that we assume those bits to be zext/sext of
the other bits!), and `negativeToUnsigned` was a pointless distinction
which forced the compiler to emit worse code (since two separate safety
checks were required for casting e.g. 'i32' to 'u16') and wasn't even
implemented correctly. This commit combines those safety panics into one
function, `integerOutOfBounds`. The name maybe isn't perfect, but that's
not hugely important; what matters is the new default message, which is
clearer than the old ones: "integer does not fit in destination type".
2025-06-01 12:10:57 +01:00
..
addWithOverflow_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
anonymous_struct_name.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
Assembly Syntax Explained.zig Build: cleanup 2024-05-05 09:42:51 -04:00
assign_undefined.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
bad_default_value.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
base64.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
build.zig Build: cleanup 2024-05-05 09:42:51 -04:00
build_c.zig Build: cleanup 2024-05-05 09:42:51 -04:00
build_object.zig Build: cleanup 2024-05-05 09:42:51 -04:00
builtin.CallModifier struct.zig typo: will inlined -> will be inlined 2024-10-29 17:52:55 -07:00
catch.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
catch_err_return.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
change_active_union_field.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
checking_null_in_zig.zig Build: cleanup 2024-05-05 09:42:51 -04:00
cImport_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
cli_allocation.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
comments.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
compile-time_duck_typing.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
compile_variables.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
compiler_generated_function.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
constant_identifier_cannot_change.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
defer_unwind.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
destructuring_arrays.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_block.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_mixed.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_return_value.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_to_existing.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_vectors.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
doc_comments.zig Build: cleanup 2024-05-05 09:42:51 -04:00
entry_point.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
enum_export.zig Build: cleanup 2024-05-05 09:42:51 -04:00
enum_export_error.zig langref: update enum_export_error.zig for callconv changes 2024-10-19 19:21:33 +01:00
error_return_trace.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
error_union_parsing_u64.zig Build: cleanup 2024-05-05 09:42:51 -04:00
export_any_symbol_name.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
export_builtin.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
export_builtin_equivalent_code.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
fibonacci_comptime_infinite_recursion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
float_literals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
float_mode_exe.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
float_mode_obj.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
float_special_values.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
generic_data_structure.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
handle_error_with_catch_block.zig.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
hello.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
hello_again.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
identifiers.zig Build: cleanup 2024-05-05 09:42:51 -04:00
inline_assembly.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
inline_call.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
inline_prong_range.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
integer_literals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
invalid_doc-comment.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
libc_export_entry_point.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
macro.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
math.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
math_add.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
mathtest.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
multiline_string_literals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
mutable_var.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
not_atomic_cmpxchgStrong.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
null.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
optional_integer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
packed_struct_mmio.zig langref: reword some packed struct text and example 2025-04-15 19:19:23 -07:00
panic_handler.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
poc_print_fn.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
poc_printValue_fn.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
print.zig Build: cleanup 2024-05-05 09:42:51 -04:00
print_comptime-known_format.zig Build: cleanup 2024-05-05 09:42:51 -04:00
redundant_fqn.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
result_location_interfering_with_swap.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
result_type_propagation.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_divExact_remainder.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_division_by_zero.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_incorrect_pointer_alignment.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_index_out_of_bounds.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_cast_truncate.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_enum_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_error_code.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_error_set_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_invalid_null_pointer_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_out_of_bounds_float_to_integer_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_reaching_unreachable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_remainder_division_by_zero.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_shlExact_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_shrExact_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_unwrap_error.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_unwrap_null.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_vs_comptime.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
runtime_wrong_union_field_access.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
sentinel-terminated_pointer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
single_value_error_set.zig Build: cleanup 2024-05-05 09:42:51 -04:00
single_value_error_set_shortcut.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
stack_trace.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
std_options.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
string_literals.zig Build: cleanup 2024-05-05 09:42:51 -04:00
struct_default_field_values.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
struct_default_value.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
struct_name.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_aligned_struct_fields.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_allocator.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_allowzero.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_ambiguous_coercion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_anonymous_struct.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_anonymous_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_arrays.zig [docs] add examples of array/slice init using result location 2024-05-10 13:56:01 -07:00
test_assertion_failure.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_basic_slices.zig Document a few non-obvious variable assignments (#20213) 2024-06-08 12:39:11 -07:00
test_bitOffsetOf_offsetOf.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_blocks.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_call_builtin.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_coerce_error_subset_to_superset.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_coerce_error_superset_to_subset.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_coerce_large_to_small.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_coerce_optional_wrapped_error_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_coerce_optionals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_coerce_slices_arrays_and_pointers.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_coerce_to_error_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_coerce_tuples_arrays.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
test_coerce_unions_enums.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_compileLog_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_call_extern_function.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_divExact_remainder.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_division_by_zero.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_evaluation.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_comptime_incorrect_pointer_alignment.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_index_out_of_bounds.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_cast_truncate.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_enum_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_error_code.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_error_set_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_invalid_null_pointer_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_max_with_bool.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_mismatched_type.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_out_of_bounds_float_to_integer_cast.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_pointer_conversion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_pointers.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_reaching_unreachable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_remainder_division_by_zero.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_shlExact_overwlow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_shrExact_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_unreachable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_unwrap_error.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_unwrap_null.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_variables.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_comptime_wrong_union_field_access.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_container-level_comptime_expressions.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_container_level_variables.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_defer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_defining_variadic_function.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
test_empty_block.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_enum_literals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_enums.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_errdefer_capture.zig langref: add example for errdefer |err| sytnax 2024-07-21 01:26:21 -07:00
test_error_union.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_exhaustive_switch.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_expression_ignored.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_fibonacci_comptime_overflow.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_fibonacci_comptime_unreachable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_fibonacci_recursion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_field_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_fn_reflection.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_fn_type_inference.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_for.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_for_nested_break.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_functions.zig langref: Update calling convention (#24022) 2025-05-30 01:11:00 +00:00
test_global_assembly.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_hasDecl_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_if.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_if_optionals.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_illegal_behavior.zig langref: embrace the term "illegal behavior" 2025-02-22 21:01:44 +00:00
test_incorrect_pointer_alignment.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_inferred_error_sets.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_inline_else.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_inline_for.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_inline_switch.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_inline_switch_union_tag.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_inline_while.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_intCast_builtin.zig compiler: combine @intCast safety checks 2025-06-01 12:10:57 +01:00
test_integer_pointer_conversion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_integer_widening.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_invalid_defer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_labeled_break.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_merging_error_sets.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_misaligned_pointer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_missized_packed_struct.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_multidimensional_arrays.zig Clarify the multidimensional array example 2025-03-26 11:52:52 +01:00
test_namespaced_container_level_variable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_no_op_casts.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_noreturn.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_noreturn_from_exit.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_null_terminated_array.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_null_terminated_slice.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_null_terminated_slicing.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_opaque.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
test_optional_pointer.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_optional_type.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_overaligned_packed_struct.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_packed_struct_equality.zig implement packed struct equality (#21679) 2024-10-12 20:59:12 -07:00
test_packed_struct_field_address.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_packed_structs.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_pass_by_reference_or_value.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_peer_type_resolution.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_pointer_arithmetic.zig Sema: support pointer subtraction 2024-07-15 18:18:38 +00:00
test_pointer_casting.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_pointer_coerce_const_optional.zig langref: Make pointer_coerce_const_optional test less obfuscated 2024-07-29 16:07:12 -07:00
test_pointer_to_non-byte_aligned_field.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_print_too_many_args.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_reduce_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_round_builtin.zig langref: clarify functionality of the round builtin (#19503) 2024-08-14 10:29:45 -07:00
test_scopes.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_sentinel_mismatch.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_setEvalBranchQuota_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_setRuntimeSafety_builtin.zig langref: embrace the term "illegal behavior" 2025-02-22 21:01:44 +00:00
test_shadowing.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_shuffle_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_simple_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_single_item_pointer.zig single pointer slice syntax added 2024-07-21 00:32:50 -07:00
test_slice_bounds.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_slices.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_splat_builtin.zig langref: update splat section 2025-03-06 07:26:19 +01:00
test_src_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_static_local_variable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_string_literal_to_const_slice.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_string_literal_to_slice.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_struct_result.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_structs.zig langref: delete misleading example code about packed structs 2024-11-13 15:35:16 -08:00
test_switch.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_switch_continue.zig Labeled switch documentation (#21383) 2024-09-12 20:06:49 -07:00
test_switch_continue_equivalent.zig Labeled switch documentation (#21383) 2024-09-12 20:06:49 -07:00
test_switch_dispatch_loop.zig std.BoundedArray: popOrNull() -> pop() [v2] (#22723) 2025-02-09 11:46:15 +00:00
test_switch_modify_tagged_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_switch_non-exhaustive.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_switch_tagged_union.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_tagged_union.zig remove explicit ComplexTypeTag from switch 2024-09-10 20:28:40 -07:00
test_tagName.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_this_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_thread_local_variables.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_truncate_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_tuples.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_type_coercion.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_TypeOf_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_unhandled_enumeration_value.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_union_method.zig Document a few non-obvious variable assignments (#20213) 2024-06-08 12:39:11 -07:00
test_unreachable.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_unresolved_comptime_value.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_usingnamespace.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_variable_alignment.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_variable_func_alignment.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_variadic_function.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
test_vector.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_void_ignored.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_void_in_hashmap.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_volatile.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_wasmMemoryGrow_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_break.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_continue.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_continue_expression.zig Build: cleanup 2024-05-05 09:42:51 -04:00
test_while_else.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_error_capture.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_nested_break.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_while_null_capture.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_without_setEvalBranchQuota_builtin.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_wraparound_semantics.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
test_wrong_union_access.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_detect_leak.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_detect_test.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_error_with_if.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_failure.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_introduction.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_namespace.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_null_with_if.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
testing_skip.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
tldoc_comments.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
TopLevelFields.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
try.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
unattached_doc-comment.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
undefined_active_union_field.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
values.zig Build: cleanup 2024-05-05 09:42:51 -04:00
var_must_be_initialized.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
verbose_cimport_flag.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
wasi_args.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
wasi_preopens.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
zero_bit_types.zig migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00