aboutsummaryrefslogtreecommitdiff
path: root/test/cases/safety
AgeCommit message (Expand)Author
2025-09-16test: rename backend=stage2 to backend=selfhosted, and add backend=autoAlex Rønne Petersen
2025-07-26aarch64: implement some safety checksJacob Young
2025-07-19tests: remove more old async testsmlugg
2025-07-07fix test case expected float valueAndrew Kelley
2025-07-07remove `async` and `await` keywordsAndrew Kelley
2025-06-29Sema: correct OPV for optional empty error setAndrew Kelley
2025-06-15compiler: fix `@intFromFloat` safety checkmlugg
2025-06-01compiler: combine `@intCast` safety checksmlugg
2025-06-01Legalize: implement scalarization of overflow intrinsicsJacob Young
2025-04-27make `@memcpy` and `@memmove` share panic handlersAndrew Kelley
2025-04-26test: add tests for @memmovedweiller
2025-04-26test: add error return to memcpy_len_mismatch and memcpy_aliasdweiller
2025-03-05Remove uses of deprecated callconv aliasesLinus Groh
2025-02-23Sema: allow `@ptrCast` of slices changing the lengthmlugg
2025-02-15x86_64: rewrite scalar and vector int `@rem`Jacob Young
2025-02-15x86_64: rewrite scalar and vector int `@divTrunc`Jacob Young
2025-02-15x86_64: implement error set and enum safetyJacob Young
2025-01-30compiler: add `intcast_safe` AIR instructionmlugg
2024-12-29fix slice of slice with sentinel on the lhs sliceTechatrix
2024-09-25disallow non-scalar sentinel typesAndrew Kelley
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
2024-03-20Revert the last two commits in this branchAndrew Kelley
2024-03-20frontend: comptime array slice-by-length OOB detectionAndrew Kelley
2024-03-20frontend: add missing bounds check for slice-by-length arraysAndrew Kelley
2024-03-19fix compilation failures found by CIAndrew Kelley
2024-03-09std.fmt: fix std-cases and perform round-trip check in ryu unit testsMarc Tiehuis
2024-02-20Liveness: do not elide safety-checked instructionsmlugg
2024-01-13Revert "Merge pull request #18410 from dweiller/by-length-slice-bug"Andrew Kelley
2023-12-31sema: add compile error for OOB by-length slice of arraydweiller
2023-11-19test: update cases to silence 'var is never mutated' errorsmlugg
2023-10-03Sema: fix issues in `@errorCast` with error unionsVeikka Tuominen
2023-10-01Sema: add `@errorCast` which works for both error sets and error unionsVeikka Tuominen
2023-07-12Update tests to new splat syntaxantlilja
2023-06-24all: migrate code to new cast builtin syntaxmlugg
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
2023-05-16add runtime safety for noreturn function returningVeikka Tuominen
2023-04-25update test cases for new memcpy/memset semanticsAndrew Kelley
2023-04-25Sema: implement comptime `@memset`Andrew Kelley
2023-04-23Sema: emit cast to null panics for function pointersVeikka Tuominen
2023-02-18add safety test cases for multi-object for loopsAndrew Kelley
2022-11-29Sema: improve safety panic for access of inactive union fieldVeikka Tuominen
2022-11-29Sema: improve panic for slice start index being greater than end indexVeikka Tuominen
2022-10-07safety: add safety check for hitting else branch on a corrupt enum valueVeikka Tuominen
2022-09-20std: add return address parameter to panic fnVeikka Tuominen
2022-09-20safety: show error return trace when unwrapping error in switchVeikka Tuominen
2022-08-19make self-hosted the default compilerAndrew Kelley
2022-08-12stage2: check for zero in `@intToError` safetyVeikka Tuominen
2022-08-06Merge pull request #12337 from Vexu/stage2-safetyAndrew Kelley
2022-08-05Sema: elide safety of modulus and remainder division sometimesAndrew Kelley
2022-08-05stage2: add runtime safety for invalid enum valuesVeikka Tuominen