From 8d6dcc2a13b6d548dcdf43facde76f82a7d091d7 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 19 Jan 2022 20:32:07 -0800 Subject: [PATCH] update readme --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b04f3ce..43702bd 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,14 @@ tweaks in the signature calculation, which is planned for a zig version (probably self-hosted 0.9.0) that no longer has an error triggered. Examples of usage are in src/main.zig. -This is designed to be built statically using the `aws_c_*` libraries, so -we inherit a lot of the goodness of the work going on there. Current -executable size is 9.7M, about half of which is due to the SSL library. -Running strip on the executable after compilation (it seems zig strip -only goes so far), reduces this to 4.3M. This is for x86_linux, -(which is all that's tested at the moment). +Current executable size for the demo is 868k after compiling with -Drelease-safe +and [stripping the executable after compilation](https://github.com/ziglang/zig/issues/351). +This is for x86_linux, (which is all that's tested at the moment). ## Building `zig build` should work. It will build the code generation project, run the code generation, then build the main project with the generated code. -There is also a Makefile included, but this hasn't been used in a while -and I'm not sure that works at the moment. First time build should use `zig build -Dfetch` to fetch dependent packages (zfetch and friends).