[nix-shell:~/Downloads/zig/build]$ cat test3.zig 
const std = @import("std");

pub export fn _start() callconv(.C) noreturn {
    std.os.linux.exit(0);
}

[nix-shell:~/Downloads/zig/build]$ ./zig build-exe test3.zig --strip --release-small --single-threaded

[nix-shell:~/Downloads/zig/build]$ wc -c test3
8728 test3

[nix-shell:~/Downloads/zig/build]$ objdump -d test3

test3:     file format elf64-x86-64


Disassembly of section .text:

0000000000201000 <_start>:
  201000:	b8 3c 00 00 00       	mov    $0x3c,%eax
  201005:	31 ff                	xor    %edi,%edi
  201007:	0f 05                	syscall 

[nix-shell:~/Downloads/zig/build]$ strace ./test3
execve("./test3", ["./test3"], 0x7ffce1ce44b0 /* 128 vars */) = 0
exit(0)                                 = ?
+++ exited with 0 +++