A pretty printer for zig
zig
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add ci pipelines

+97 -1
+24
ci/tasks/debug.yml
··· 1 + platform: linux 2 + 3 + image_resource: 4 + type: registry-image 5 + source: 6 + repository: ghcr.io/jdx/mise 7 + tag: latest 8 + 9 + inputs: 10 + - name: pretty 11 + 12 + caches: 13 + - path: /mise 14 + - path: .cache/zig 15 + - path: pretty/.zig-cache 16 + 17 + run: 18 + dir: pretty 19 + path: sh 20 + args: 21 + - -exc 22 + - | 23 + mise trust 24 + zig build example -Doptimize=Debug --color off --summary all --verbose
+24
ci/tasks/fast.yml
··· 1 + platform: linux 2 + 3 + image_resource: 4 + type: registry-image 5 + source: 6 + repository: ghcr.io/jdx/mise 7 + tag: latest 8 + 9 + inputs: 10 + - name: pretty 11 + 12 + caches: 13 + - path: /mise 14 + - path: .cache/zig 15 + - path: pretty/.zig-cache 16 + 17 + run: 18 + dir: pretty 19 + path: sh 20 + args: 21 + - -exc 22 + - | 23 + mise trust 24 + zig build example -Doptimize=ReleaseFast --color off --summary all --verbose
+24
ci/tasks/safe.yml
··· 1 + platform: linux 2 + 3 + image_resource: 4 + type: registry-image 5 + source: 6 + repository: ghcr.io/jdx/mise 7 + tag: latest 8 + 9 + inputs: 10 + - name: pretty 11 + 12 + caches: 13 + - path: /mise 14 + - path: .cache/zig 15 + - path: pretty/.zig-cache 16 + 17 + run: 18 + dir: pretty 19 + path: sh 20 + args: 21 + - -exc 22 + - | 23 + mise trust 24 + zig build example -Doptimize=ReleaseSafe --color off --summary all --verbose
+24
ci/tasks/small.yml
··· 1 + platform: linux 2 + 3 + image_resource: 4 + type: registry-image 5 + source: 6 + repository: ghcr.io/jdx/mise 7 + tag: latest 8 + 9 + inputs: 10 + - name: pretty 11 + 12 + caches: 13 + - path: /mise 14 + - path: .cache/zig 15 + - path: pretty/.zig-cache 16 + 17 + run: 18 + dir: pretty 19 + path: sh 20 + args: 21 + - -exc 22 + - | 23 + mise trust 24 + zig build example -Doptimize=ReleaseSmall --color off --summary all --verbose
+1 -1
example/main.zig
··· 219 219 str_allocated[3] = 'l'; 220 220 str_allocated[4] = 'o'; 221 221 222 - var buffer: [100]u8 = [_]u8{1} ** 100; 222 + var buffer: [100]u8 = @splat(1); 223 223 const buffer_ptr: *[100]u8 = &buffer; 224 224 const buffer_many_ptr: [*]u8 = buffer_ptr; 225 225