Commit Graph

19 Commits

Author SHA1 Message Date
f5612a2c5b
upgrade to zig 0.13.0
All checks were successful
Generic zig build / build (push) Successful in 1m11s
2024-06-08 10:51:45 -07:00
9b4e1cb5bc
zig 0.12.0: connect aws lambda 2024-05-10 12:37:11 -07:00
c3e1ffc2ef
zig 0.12.0: bring all of runStandaloneServer under test 2024-05-08 10:23:40 -07:00
17661b9da2
zig 0.12.0: add test-native step/re-enable lib (failing) 2024-05-06 15:39:08 -07:00
e8430cb47a
zig 0.12.0: re-enable exe tests 2024-05-06 15:29:18 -07:00
1e24b3a87c
zig 0.12.0: rework build interface to match a much improved package manager 2024-05-06 13:54:47 -07:00
31b363bc0d
re-enable lib tests
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m45s
2024-01-09 14:42:18 -08:00
dd4935b5e5
move cross target testing into zig build test
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m58s
2024-01-09 14:28:20 -08:00
0736660669
adjust test build to deal with library-based systems
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m33s
2023-10-28 08:31:12 -07:00
5376b6a725
fix downstream build issues
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m37s
2023-10-25 00:14:33 -07:00
dcf00d8460
rework context
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m50s
This commit is a significant refactor that fixes a number of things.

1. Replaces the optional helpers import (which was always weird) with a
   mandatory interface import on behalf of the application. This is
   actually a good thing as it enables all things below.
2. Removes the severely awkward union that was the lambda context. Now,
   no matter how your handler runs, a single object with everything you
   need is fully populated and (nearly always) works as you would
   expect. There is a slight exception to this with AWS Lambda that is
   related to the service itself. It is also possible that not
   everything is passed in correctly for Cloudflare, which, if true,
   will be addressed later.
3. Allows writes to the context object. These will be added to the
   output, but is implementation dependent, and I'm not 100% sure I've
   got it right yet, but the infrastructure is there.
4. Allows proper tests throughout this project.
5. Allows proper tests in the application too.
6. Removes the need for the handler to be public under flexlib. Flexilib
   handler registration now works just like everything else. Note,
   however, that flexilib is unique in that your handler registration
   function will return before the program ends. If this is important
   for resource cleanup, @import("build_options").build_type is your
   friend.
7. Request method can now be passed into console applications using -m
   or --method
2023-10-24 23:45:12 -07:00
33cb2589af
not sure why wasmtime is not working - disable foreign checks for now
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m39s
2023-10-22 12:32:11 -07:00
1d0da7c80f
add helper tests/change header helper to get all headers
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m31s
2023-10-22 11:53:51 -07:00
5b4bf37424
add helpers from example as an optional module for use downstream
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m18s
2023-10-21 13:08:06 -07:00
30d27e3002
use flexilib interface module directly
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m23s
2023-10-04 06:55:25 -07:00
3088af4219
allow "zig build" to work (although it will not do much) 2023-10-03 13:44:03 -07:00
88ff6bf9c6
add configureBuild in build.zig
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m18s
2023-09-20 15:08:33 -07:00
aff5196dbb
update build.zig to allow testing 2023-09-20 14:20:05 -07:00
5bb9f3de07
it is alive 2023-09-16 08:14:11 -07:00