# Allow Zig programs to implement their own startup \(\_start\) for ELF executables\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c9937f4a2b56fc14d6d64ca9a43cca0236c6d1ad)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c9937f4a2b56fc14d6d64ca9a43cca0236c6d1ad

Requested commit: c9937f4a2b56fc14d6d64ca9a43cca0236c6d1ad

Commit: c9937f4a2b56fc14d6d64ca9a43cca0236c6d1ad

Tree: c22052311817bb0a213061899c5ebdd56b280e72

Author: Shawn Landden

Committer: Andrew Kelley

## Message

```
Allow Zig programs to implement their own startup (_start) for ELF executables.

/home/shawn/git/zig-simd/build/lib/zig/std/special/start.zig:23:40: error: exported symbol collision: '_start'
        @export("_start", _start, .Strong);
        ^
/home/shawn/git/zig-simd/build/d.zig:1:1: note: other symbol is here
pub export fn _start() void {
^
/home/shawn/git/zig-simd/build/lib/zig/std/special/start.zig:124:35: error: root source file has no member called 'main'
    switch (@typeInfo(@typeOf(root.main).ReturnType)) {

```

## Parents

- [7ebb7ca58091d136bf12dff4e19c49f8a120f102](https://git.cafe/gitcafe/zig/commit/7ebb7ca58091d136bf12dff4e19c49f8a120f102?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c9937f4a2b56fc14d6d64ca9a43cca0236c6d1ad?format=markdown)
