Skip to content

Modularize Zzz - #70

Merged
bernardassan merged 8 commits into
mainfrom
modularize
Jul 19, 2026
Merged

Modularize Zzz#70
bernardassan merged 8 commits into
mainfrom
modularize

Conversation

@bernardassan

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
improve namespacing of any_case_string_map to string_map.AnyCase

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
start modularizing http modules and namespace

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
namespace Route under Router
improve middleware namespacing
modularize core.*
improve importing structure
use struct imports where appropriate
improve formating
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
check if it fixes the note: unable to create file 'src/runtime/timer.zig': PathAlreadyExists error

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
```elvish
Run zig build
D:\a\zzz\zzz\build.zig.zon:8:20: error: unable to unpack packfile
            .url = "git+https://github.com/tardy-org/tardy?ref=main#1436624746f06f34ebb3a49fe8a931af8b316fbe",
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: unable to create file 'src\runtime\timer.zig': PathAlreadyExists
Error: Process completed with exit code 1.
```

with the latest tardy, examples can be built without the error
    `undefined symbol: tardy_swap_frame` when `.use_llvm = true`
    isn't set, becuase tardy no longer uses global assembly for
    its context switching. This localizes the `.use_llvm` to only
    tardy

Also `.link_libc` isn't needed for the examples anymore

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
    this was leading to unnecessary compiling of
    tardy and secsock for tests

bump minimum supported zig version to 0.17.0-dev.1413+addc3c3b8

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
@bernardassan
bernardassan merged commit f055100 into main Jul 19, 2026
3 checks passed
@bernardassan
bernardassan deleted the modularize branch July 19, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant