zig/doc/langref
2025-09-20 18:33:01 -07:00
..
addWithOverflow_builtin.zig
anonymous_struct_name.zig
Assembly Syntax Explained.zig update docs 2025-07-16 10:27:40 -07:00
assign_undefined.zig
bad_default_value.zig update standalone and incremental tests to new API 2025-07-07 22:43:53 -07:00
base64.zig
build.zig Migrate from deprecated Step.Compile APIs 2025-07-26 12:06:43 +02:00
build_c.zig Migrate from deprecated Step.Compile APIs 2025-07-26 12:06:43 +02:00
build_object.zig Migrate from deprecated Step.Compile APIs 2025-07-26 12:06:43 +02:00
builtin.CallModifier struct.zig typo: will inlined -> will be inlined 2024-10-29 17:52:55 -07:00
catch.zig
catch_err_return.zig
change_active_union_field.zig
checking_null_in_zig.zig
cImport_builtin.zig
cli_allocation.zig
comments.zig
compile-time_duck_typing.zig
compile_variables.zig
compiler_generated_function.zig
constant_identifier_cannot_change.zig
defer_unwind.zig langref: remove dead code 2025-07-14 17:34:52 +01:00
destructuring_arrays.zig langref: Document destructuring (#21627) 2025-01-28 04:23:13 +00:00
destructuring_block.zig langref: added missing newlines to destructuring tuples example 2025-09-10 02:31:20 +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
entry_point.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
enum_export.zig
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
error_union_parsing_u64.zig
export_any_symbol_name.zig
export_builtin.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
export_builtin_equivalent_code.zig
fibonacci_comptime_infinite_recursion.zig
float_literals.zig
float_mode_exe.zig
float_mode_obj.zig
float_special_values.zig
generic_data_structure.zig
handle_error_with_catch_block.zig.zig
hello.zig update standalone and incremental tests to new API 2025-07-07 22:43:53 -07:00
hello_again.zig update standalone and incremental tests to new API 2025-07-07 22:43:53 -07:00
identifiers.zig
inline_assembly.zig update docs 2025-07-16 10:27:40 -07:00
inline_call.zig langref: don't encourage printing to stderr in tests 2025-07-14 17:32:50 +01: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
invalid_doc-comment.zig
libc_export_entry_point.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
macro.zig
math.zig
math_add.zig
mathtest.zig
multiline_string_literals.zig
mutable_var.zig
not_atomic_cmpxchgStrong.zig
null.zig
optional_integer.zig
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
poc_printValue_fn.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
print.zig
print_comptime-known_format.zig
redundant_fqn.zig
result_location_interfering_with_swap.zig
result_type_propagation.zig
runtime_divExact_remainder.zig
runtime_division_by_zero.zig
runtime_incorrect_pointer_alignment.zig
runtime_index_out_of_bounds.zig
runtime_invalid_cast.zig
runtime_invalid_cast_truncate.zig
runtime_invalid_enum_cast.zig
runtime_invalid_error_code.zig
runtime_invalid_error_set_cast.zig
runtime_invalid_null_pointer_cast.zig
runtime_out_of_bounds_float_to_integer_cast.zig
runtime_overflow.zig
runtime_reaching_unreachable.zig
runtime_remainder_division_by_zero.zig
runtime_shlExact_overflow.zig
runtime_shrExact_overflow.zig langref: runtime_shrExact_overflow does not work as expected on LoongArch 2025-09-18 10:08:38 +02:00
runtime_unwrap_error.zig
runtime_unwrap_null.zig
runtime_vs_comptime.zig
runtime_wrong_union_field_access.zig
sentinel-terminated_pointer.zig
single_value_error_set.zig
single_value_error_set_shortcut.zig
stack_trace.zig
std_options.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
string_literals.zig
struct_default_field_values.zig
struct_default_value.zig
struct_name.zig
test_aligned_struct_fields.zig
test_allocator.zig
test_allowzero.zig
test_ambiguous_coercion.zig
test_anonymous_struct.zig
test_anonymous_union.zig
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
test_basic_slices.zig Document a few non-obvious variable assignments (#20213) 2024-06-08 12:39:11 -07:00
test_bitOffsetOf_offsetOf.zig
test_blocks.zig
test_call_builtin.zig
test_coerce_error_subset_to_superset.zig
test_coerce_error_superset_to_subset.zig
test_coerce_large_to_small.zig
test_coerce_optional_wrapped_error_union.zig
test_coerce_optionals.zig
test_coerce_slices_arrays_and_pointers.zig [:x]T coerces into [*:x]T 2025-07-22 12:30:19 +02:00
test_coerce_to_error_union.zig
test_coerce_tuples_arrays.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
test_coerce_unions_enums.zig
test_compileLog_builtin.zig
test_comptime_call_extern_function.zig
test_comptime_divExact_remainder.zig
test_comptime_division_by_zero.zig
test_comptime_evaluation.zig
test_comptime_incorrect_pointer_alignment.zig
test_comptime_index_out_of_bounds.zig
test_comptime_invalid_cast.zig
test_comptime_invalid_cast_truncate.zig
test_comptime_invalid_enum_cast.zig
test_comptime_invalid_error_code.zig
test_comptime_invalid_error_set_cast.zig
test_comptime_invalid_null_pointer_cast.zig
test_comptime_max_with_bool.zig
test_comptime_mismatched_type.zig
test_comptime_out_of_bounds_float_to_integer_cast.zig
test_comptime_overflow.zig
test_comptime_pointer_conversion.zig
test_comptime_pointers.zig
test_comptime_reaching_unreachable.zig
test_comptime_remainder_division_by_zero.zig
test_comptime_shlExact_overflow.zig Sema: Improve comptime arithmetic undef handling 2025-08-12 16:33:57 +02:00
test_comptime_shrExact_overflow.zig
test_comptime_unreachable.zig
test_comptime_unwrap_error.zig
test_comptime_unwrap_null.zig
test_comptime_variables.zig
test_comptime_wrong_union_field_access.zig
test_container-level_comptime_expressions.zig
test_container_level_variables.zig
test_defer.zig
test_defining_variadic_function.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
test_empty_block.zig
test_enum_literals.zig
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
test_expression_ignored.zig
test_fibonacci_comptime_overflow.zig
test_fibonacci_comptime_unreachable.zig
test_fibonacci_recursion.zig
test_field_builtin.zig
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
test_for.zig
test_for_nested_break.zig
test_functions.zig langref: Update calling convention (#24022) 2025-05-30 01:11:00 +00:00
test_global_assembly.zig langref: global assembly test depends on llvm 2025-06-06 23:42:14 -07:00
test_hasDecl_builtin.zig
test_if.zig
test_if_optionals.zig
test_illegal_behavior.zig langref: embrace the term "illegal behavior" 2025-02-22 21:01:44 +00:00
test_incorrect_pointer_alignment.zig
test_inferred_error_sets.zig
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
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
test_inline_while.zig
test_intCast_builtin.zig compiler: combine @intCast safety checks 2025-06-01 12:10:57 +01:00
test_integer_pointer_conversion.zig
test_integer_widening.zig
test_invalid_defer.zig
test_labeled_break.zig
test_merging_error_sets.zig
test_misaligned_pointer.zig
test_missized_packed_struct.zig
test_multidimensional_arrays.zig Clarify the multidimensional array example 2025-03-26 11:52:52 +01:00
test_namespaced_container_level_variable.zig
test_no_op_casts.zig
test_noreturn.zig
test_noreturn_from_exit.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
test_null_terminated_array.zig
test_null_terminated_slice.zig
test_null_terminated_slicing.zig
test_opaque.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
test_optional_pointer.zig
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 langref: don't assume too much about pointer to packed struct field 2025-09-20 18:33:01 -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
test_packed_structs.zig
test_pass_by_reference_or_value.zig
test_peer_type_resolution.zig
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
test_print_too_many_args.zig
test_reduce_builtin.zig
test_round_builtin.zig langref: clarify functionality of the round builtin (#19503) 2024-08-14 10:29:45 -07:00
test_scopes.zig
test_sentinel_mismatch.zig
test_setEvalBranchQuota_builtin.zig
test_setRuntimeSafety_builtin.zig langref: embrace the term "illegal behavior" 2025-02-22 21:01:44 +00:00
test_shadowing.zig
test_shuffle_builtin.zig
test_simple_union.zig
test_single_item_pointer.zig single pointer slice syntax added 2024-07-21 00:32:50 -07:00
test_slice_bounds.zig
test_slices.zig
test_splat_builtin.zig langref: update splat section 2025-03-06 07:26:19 +01:00
test_src_builtin.zig
test_static_local_variable.zig
test_string_literal_to_const_slice.zig
test_string_literal_to_slice.zig
test_struct_result.zig
test_structs.zig langref: delete misleading example code about packed structs 2024-11-13 15:35:16 -08:00
test_switch.zig
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: remove BoundedArray 2025-08-05 09:56:02 -07:00
test_switch_modify_tagged_union.zig
test_switch_non-exhaustive.zig
test_switch_tagged_union.zig
test_tagged_union.zig remove explicit ComplexTypeTag from switch 2024-09-10 20:28:40 -07:00
test_tagged_union_with_tag_values.zig langref: add documentation for unions with inferred tag and explicit tag values 2025-08-17 19:17:02 -07:00
test_tagName.zig
test_this_builtin.zig
test_thread_local_variables.zig
test_truncate_builtin.zig
test_tuples.zig
test_type_coercion.zig
test_TypeOf_builtin.zig
test_unhandled_enumeration_value.zig
test_union_method.zig Document a few non-obvious variable assignments (#20213) 2024-06-08 12:39:11 -07:00
test_unreachable.zig
test_unresolved_comptime_value.zig
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 frontend: vectors and arrays no longer support in-memory coercion 2025-09-07 17:29:36 -07:00
test_void_ignored.zig
test_void_in_hashmap.zig
test_volatile.zig
test_wasmMemoryGrow_builtin.zig
test_while.zig
test_while_break.zig
test_while_continue.zig
test_while_continue_expression.zig
test_while_else.zig
test_while_error_capture.zig
test_while_nested_break.zig
test_while_null_capture.zig
test_without_setEvalBranchQuota_builtin.zig
test_wraparound_semantics.zig
test_wrong_union_access.zig
testing_detect_leak.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
testing_detect_test.zig
testing_error_with_if.zig
testing_failure.zig
testing_introduction.zig
testing_namespace.zig
testing_null_with_if.zig
testing_skip.zig
tldoc_comments.zig
TopLevelFields.zig langref: document modules, root source files, etc 2025-02-22 21:01:44 +00:00
try.zig
unattached_doc-comment.zig
undefined_active_union_field.zig
values.zig
var_must_be_initialized.zig
verbose_cimport_flag.zig
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