zig/lib/std/zig
rpkak 95f93a0b28
Some checks are pending
ci / aarch64-linux-debug (push) Waiting to run
ci / aarch64-linux-release (push) Waiting to run
ci / aarch64-macos-debug (push) Waiting to run
ci / aarch64-macos-release (push) Waiting to run
ci / loongarch64-linux-debug (push) Waiting to run
ci / loongarch64-linux-release (push) Waiting to run
ci / riscv64-linux-debug (push) Waiting to run
ci / riscv64-linux-release (push) Waiting to run
ci / s390x-linux-debug (push) Waiting to run
ci / s390x-linux-release (push) Waiting to run
ci / x86_64-freebsd-debug (push) Waiting to run
ci / x86_64-freebsd-release (push) Waiting to run
ci / x86_64-linux-debug (push) Waiting to run
ci / x86_64-linux-debug-llvm (push) Waiting to run
ci / x86_64-linux-release (push) Waiting to run
ci / x86_64-windows-debug (push) Waiting to run
ci / x86_64-windows-release (push) Waiting to run
std.zig.Ast: count addrspace tokens correctly
Before this PR this

```zig
const namespace = struct {
    extern const num: u8 addrspace(.generic);
};
// comment
```

got formatted to this

```zig
const namespace = struct {
    extern const num: u8 addrspace(.generic);
(
```

Co-authored-by: rpkak <rpkak@noreply.codeberg.org>
Co-committed-by: rpkak <rpkak@noreply.codeberg.org>
2025-12-01 12:56:11 +01:00
..
Ast zig fmt: fix extra whitespace in StructInit with multiline strings 2025-11-05 14:07:30 +02:00
c_translation all: replace all @Type usages 2025-11-22 22:42:38 +00:00
llvm all: replace all @Type usages 2025-11-22 22:42:38 +00:00
system Update std.zig.system.NativePaths.detect to support some more flags on NixOS like environment. 2025-11-27 20:49:55 +01:00
Ast.zig std.zig.Ast: count addrspace tokens correctly 2025-12-01 12:56:11 +01:00
AstGen.zig std.zig.AstGen: rename token_bytes parameter to ident_name_raw 2025-11-26 09:49:50 +01:00
AstRlAnnotate.zig compiler: replace @Type with individual type-creating builtins 2025-11-22 22:42:37 +00:00
BuiltinFn.zig compiler: replace @Type with individual type-creating builtins 2025-11-22 22:42:37 +00:00
Client.zig fuzzing: implement limited fuzzing 2025-09-24 12:46:48 +02:00
ErrorBundle.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
LibCDirs.zig std.Target: remove Abi.code16 2025-11-23 10:22:03 +01:00
LibCInstallation.zig std: accessZ -> access 2025-10-29 06:20:50 -07:00
llvm.zig std.zig: finish updating to new I/O API 2025-07-19 19:57:37 -07:00
number_literal.zig Make 0e.0 and 0xp0 not crash 2024-07-03 02:53:37 -04:00
Parse.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
parser_test.zig std.zig.Ast: count addrspace tokens correctly 2025-12-01 12:56:11 +01:00
perf_test.zig std.zig: finish updating to new I/O API 2025-07-19 19:57:37 -07:00
primitives.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
Server.zig std.zig.Server: read error bundle as little-endian 2025-11-19 01:42:45 +01:00
string_literal.zig std.fmt: delete deprecated APIs 2025-08-31 12:49:18 -07:00
system.zig std.Target: remove Abi.code16 2025-11-23 10:22:03 +01:00
target.zig std.zig.target: support aarch64-maccatalyst and x86_64-maccatalyst cross libc 2025-11-14 22:14:50 +01:00
tokenizer.zig add some new fuzz tests 2025-09-18 18:56:18 -04:00
WindowsSdk.zig Merge pull request #25993 from squeek502/windows-paths 2025-11-24 15:27:24 -08:00
Zir.zig compiler: replace @Type with individual type-creating builtins 2025-11-22 22:42:37 +00:00
Zoir.zig std.zig.Ast: improve type safety 2025-03-07 22:22:01 +01:00
ZonGen.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00