zig/lib/std/zig
mlugg f818098971
incremental: correctly return error.AnalysisFail when type structure changes
`Zcu.PerThead.ensureTypeUpToDate` is set up in such a way that it only
returns the updated type the first time it is called. In general, that's
okay; however, the exception is that we want the function to continue
returning `error.AnalysisFail` when the type has been lost, or its
number of captures changed.

Therefore, the check for this case now happens before the up-to-date
success return.

For simplicity, the number of captures is now handled by intentionally
losing the instruction in `Zcu.mapOldZirToNew`, since there is nothing
to gain from tracking a type when old instances of it can never be
reused.
2025-01-04 05:44:29 +00:00
..
system add m4 {pro,max} detection 2024-12-16 20:56:29 -05:00
Ast.zig fix std.zig.Ast.rootDecls on .zon mode Ast 2024-12-14 16:40:40 -05:00
AstGen.zig Zir: split up start and end of range in for_len 2025-01-03 22:28:37 +00:00
AstRlAnnotate.zig compiler: remove @setAlignStack 2024-10-19 19:15:23 +01:00
BuiltinFn.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
c_builtins.zig std: update uses of .Inline callconv 2024-10-19 19:21:33 +01:00
c_translation.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
Client.zig build runner sends a start_fuzzing message to test runner 2024-07-25 18:52:21 -07:00
ErrorBundle.zig compiler: introduce ZonGen and make ast-check run it for ZON inputs 2024-12-16 17:02:35 +00:00
LibCDirs.zig std.Target: Add muslabin32 and muslabi64 tags to Abi. 2024-11-02 10:42:53 +01:00
LibCInstallation.zig fix: windows libc lib paths for x86-windows-msvc 2025-01-01 23:47:39 +01:00
number_literal.zig
Parse.zig std.zig: resolve syntactic ambiguity 2024-09-01 18:30:31 +01:00
parser_test.zig std: update uses of .Inline callconv 2024-10-19 19:21:33 +01:00
perf_test.zig
primitives.zig
render.zig std.zig.render: fix callconv(.Inline) -> inline fn promotion 2024-10-19 19:15:23 +01:00
Server.zig Merge pull request #21224 from alexrp/mips-gnu-fixes 2024-08-30 14:47:43 -07:00
string_literal.zig compiler: introduce ZonGen and make ast-check run it for ZON inputs 2024-12-16 17:02:35 +00:00
system.zig std.Target: Incorporate the Abi tag in VersionRange.default(). 2024-12-17 05:04:16 +01:00
target.zig std.zig.target: Check OS version for all targets in canBuildLibC(). 2024-12-17 05:04:16 +01:00
tokenizer.zig tokenizer: fix 0 byte following invalid (#21482) 2024-09-23 13:06:30 -07:00
WindowsSdk.zig std.zig.WindowsSdk: Support cross-arch SDK lookups. 2024-12-08 04:53:28 +01:00
Zir.zig incremental: correctly return error.AnalysisFail when type structure changes 2025-01-04 05:44:29 +00:00
Zoir.zig compiler: introduce ZonGen and make ast-check run it for ZON inputs 2024-12-16 17:02:35 +00:00
ZonGen.zig compiler: introduce ZonGen and make ast-check run it for ZON inputs 2024-12-16 17:02:35 +00:00