736 B
736 B
- when porting features from upstream Zig, it should be a mechanical copy. Don't invent. Most of what you are doing is invented, but needs to be re-done in C. Keep the structure in place, name functions and types the same way (or within reason equivalently if there are namespacing constraints). It should be easy to reference one from the other; and, if there are semantic differences, they must be because Zig or C does not support certain features (like errdefer).
- See README.md for useful information about working on this.
- Never ever remove zig-cache, nether local nor global.
- Zig code is in ~/code/zig, don't look at /nix/...
- remember: mechanical copy when porting existing stuff, no new creativity.