| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-10-30 | std.debug.lockStderrWriter: also return ttyconf | Matthew Lugg | |
| `std.Io.tty.Config.detect` may be an expensive check (e.g. involving syscalls), and doing it every time we need to print isn't really necessary; under normal usage, we can compute the value once and cache it for the whole program's execution. Since anyone outputting to stderr may reasonably want this information (in fact they are very likely to), it makes sense to cache it and return it from `lockStderrWriter`. Call sites who do not need it will experience no significant overhead, and can just ignore the TTY config with a `const w, _` destructure. | |||
| 2025-10-27 | feat: init x86_16 arch via CBE | GasInfinity | |
| 2025-10-23 | Merge pull request #25640 from alexrp/std-target-more-arches | Alex Rønne Petersen | |
| `std.Target`: add tags and info for alpha, hppa, microblaze, sh + some bonus commits | |||
| 2025-10-23 | std.builtin: move AddressSpace.Context to std.Target.AddressSpaceContext | Alex Rønne Petersen | |
| This type has nothing to do with the language. | |||
| 2025-10-23 | std.builtin: add CallingConvention.sh_interrupt | Alex Rønne Petersen | |
| Only supported in CBE. | |||
| 2025-10-23 | std.builtin: add CallingConvention.microblaze_interrupt | Alex Rønne Petersen | |
| Only supported in CBE. | |||
| 2025-10-23 | std.builtin: add CallingConvention.msp430_interrupt | Alex Rønne Petersen | |
| Supported by LLVM and CBE. | |||
| 2025-10-23 | std.builtin: add CallingConvention.x86_64_x32 | Alex Rønne Petersen | |
| This was forgotten during the refactoring of std.builtin.CallingConvention. It mirrors mips64_n32 for MIPS. | |||
| 2025-10-23 | std.Target: add tags and info for alpha, hppa, microblaze, sh | Alex Rønne Petersen | |
| 2025-10-23 | spir-v: Fix .storage_buffer pointer indexing | jonascloud | |
| Renames arePointersLogical to shouldBlockPointerOps for clarity adds capability check to allow pointer ops on .storage_buffer when variable_pointers capability is enabled. Fixes #25638 | |||
| 2025-10-19 | compiler: add support for arc_interrupt calling convention | Alex Rønne Petersen | |
| Only for use with the C backend at the moment. | |||
| 2025-10-18 | Sema: or1k_sysv calling convention supports varargs | Alex Rønne Petersen | |
| 2025-10-18 | std.Target: move Cpu.supportsAddressSpace() up to here | Alex Rønne Petersen | |
| This allows us to rule out support for certain address spaces based on the OS. This commit is just a refactor, however, and doesn't actually make use of that opportunity yet. | |||
| 2025-10-16 | detect invalid `@bitCast` with arrays | xdBronch | |
| 2025-10-08 | don't make OPV tuple fields `comptime` | xdBronch | |
| 2025-10-07 | don't make anonymous tuple fields referencing `comptime var`s `comptime` | xdBronch | |
| 2025-10-07 | detect references to `comptime var` in default values and sentinels | xdBronch | |
| 2025-10-06 | don't pass zero-length `@memset` to the backend | xdBronch | |
| 2025-09-30 | compiler: better crash handler | mlugg | |
| Far simpler, because everything which `crash_report.zig` did is now handled pretty well by `std.debug` anyway. All we want is to print some context around panics and segfaults. Using the new ability to override the default segfault handler while still having std handle the target-specific bits for us, that's really simple. | |||
| 2025-09-24 | Compilation: re-implement cImport | Andrew Kelley | |
| 2025-09-21 | Elf2: create a new linker from scratch | Jacob Young | |
| This iteration already has significantly better incremental support. Closes #24110 | |||
| 2025-09-20 | Zcu: fix analysis of type of decl with inferred type | mlugg | |
| If the `nav_ty` is resolved by the `nav_val`, then we need to also mark the `nav_ty` as in progress when we begin resolving the `nav_val`. | |||
| 2025-09-20 | Sema: add missed logic to checkPtrAttributes | Andrew Kelley | |
| It wasn't checking bit pointer data. | |||
| 2025-09-20 | frontend: packed struct field ptr no longer finds byte borders | Andrew Kelley | |
| technically breaking, but I doubt anyone will notice. | |||
| 2025-09-20 | Sema: avoid ptr_add/ptr_sub instructions void elem type | Andrew Kelley | |
| 2025-09-20 | Sema: fix YAGNI violation | Andrew Kelley | |
| 2025-09-20 | Sema: more conservative elem_ptr_load implementation | Andrew Kelley | |
| like field_ptr_load, this now does byval operations when the lhs is comptime-known. | |||
| 2025-09-20 | frontend: replace elem_val_node with elem_ptr_load | Andrew Kelley | |
| avoids unnecessary copies | |||
| 2025-09-20 | frontend: replace field_val and field_val_named | Andrew Kelley | |
| with field_ptr_load and field_ptr_named_load. These avoid doing by-val load operations for structs that are runtime-known while keeping the previous semantics for comptime-known values. | |||
| 2025-09-20 | Sema: fix source location of "declared here" note | Andrew Kelley | |
| point at the var not at the init expression | |||
| 2025-09-20 | Sema: fix accessing ptr field of double array pointer with sentinel | Andrew Kelley | |
| 2025-09-20 | compiler: require comptime vector indexes | Andrew Kelley | |
| 2025-09-15 | frontend: fix reference tracking through coerced function bodies | mlugg | |
| This bug was manifesting for user as a nasty link error because they were calling their application's main entry point as a coerced function, which essentially broke reference tracking for the entire ZCU, causing exported symbols to silently not get exported. I've been a little unsure about how coerced functions should interact with the unit graph before, but the solution is actually really obvious now: they shouldn't! `Sema` is now responsible for unwrapping possibly-coerced functions *before* queuing analysis or marking unit references. This makes the reference graph optimal (there are no redundant edges representing coerced versions of the same function) and simplifies logic elsewhere at the expense of just a few lines in Sema. | |||
| 2025-09-07 | frontend: vectors and arrays no longer support in-memory coercion | Andrew Kelley | |
| closes #25172 | |||
| 2025-09-05 | Sema: forbid packed unions with mismatched field bit sizes | Andrew Kelley | |
| 2025-08-29 | std.Io: delete GenericReader | Andrew Kelley | |
| and delete deprecated alias std.io | |||
| 2025-08-28 | AstGen: forward result type through unary float builtins | David Rubin | |
| Uses a new `float_op_result_ty` ZIR instruction tag. | |||
| 2025-08-15 | what if we kissed by the extern source bit | mlugg | |
| 2025-08-13 | Merge pull request #24674 from Justus2308/undef-shift-bitwise | Matthew Lugg | |
| Sema: Improve comptime arithmetic undef handling | |||
| 2025-08-13 | sema: strip `@splat` operand result type before checking it | David Rubin | |
| 2025-08-13 | Merge pull request #24381 from Justus2308/switch-better-underscore | Matthew Lugg | |
| Enhance switch on non-exhaustive enums | |||
| 2025-08-13 | std.io.Writer.Allocating: rename getWritten() to written() | Isaac Freund | |
| This "get" is useless noise and was copied from FixedBufferWriter. Since this API has not yet landed in a release, now is a good time to make the breaking change to fix this. | |||
| 2025-08-12 | fix: emit vector instead of scalar u1_zero in shl_with_overflow logic | Justus Klausecker | |
| 2025-08-12 | add undef shift tests ; mirror `zirShl` logic for `@shlWithOverflow` | Justus Klausecker | |
| 2025-08-12 | Sema: replace all remaining aggregate interns related to `@typeInfo` | Justus Klausecker | |
| 2025-08-12 | remove redundant test cases | Justus Klausecker | |
| 2025-08-12 | replace even more aggregate interns | Justus Klausecker | |
| 2025-08-12 | Sema: replace most aggregate interns with pt.aggregateValue | Justus Klausecker | |
| 2025-08-12 | address most comments | Justus Klausecker | |
| 2025-08-12 | make `>>` a compile error with any undef arg ; add a bunch of test cases | Justus Klausecker | |
