Commit graph

398 commits

Author SHA1 Message Date
Vinzenz Schroeter 91e8771e81 add derives
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 2m5s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m47s
2025-06-26 23:22:18 +02:00
Vinzenz Schroeter c65b735f57 generic wrap
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 2m4s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m44s
2025-06-26 22:36:57 +02:00
Vinzenz Schroeter 5beea6151a wip generic wrap 2025-06-26 20:42:31 +02:00
Vinzenz Schroeter 82696b2d1a add slice modifier
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 2m7s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m48s
2025-06-26 19:26:41 +02:00
Vinzenz Schroeter 39c7c27c86 implement return modifiers 2025-06-26 18:59:46 +02:00
Vinzenz Schroeter 0968605d0b cleanups, add semicolon everywhere 2025-06-26 17:29:03 +02:00
Vinzenz Schroeter e8f11c08ea add parameter modifiers 2025-06-23 23:28:30 +02:00
Vinzenz Schroeter 664625402f move where the modifier is 2025-06-23 21:36:01 +02:00
Vinzenz Schroeter 5a849a87c7 fix missing renames 2025-06-23 21:16:22 +02:00
Vinzenz Schroeter 323ba6128e add move fn to dsl, rename SPCommand to GenericCommand, remove DisplayBitVec command 2025-06-23 20:26:22 +02:00
Vinzenz Schroeter e434130784 unifiy special handling of params and return 2025-06-23 19:43:52 +02:00
Vinzenz Schroeter 92ce27af68 simplify property exports 2025-06-23 19:43:23 +02:00
Vinzenz Schroeter 7a836783e1 rename function to ...try to indicate possible null return 2025-06-22 13:00:32 +02:00
Vinzenz Schroeter b4730ffdf3 container macro code dedup 2025-06-22 12:52:53 +02:00
Vinzenz Schroeter 5ecb84ed16 derive try_into_packet automatically 2025-06-22 12:28:37 +02:00
Vinzenz Schroeter 8116375fd0 more type name based naming 2025-06-22 12:28:37 +02:00
Vinzenz Schroeter 8f13ba61f0 remove _ from type names in function names 2025-06-22 00:14:06 +02:00
Vinzenz Schroeter 500cbbc872 add prefix centrally 2025-06-21 23:51:10 +02:00
Vinzenz Schroeter 1eb59d986a wrap_command macro 2025-06-21 23:47:42 +02:00
Vinzenz Schroeter 18f0be072a fix docs, misc tweaks 2025-06-19 18:32:07 +02:00
Vinzenz Schroeter b79a2534fc the rest of the functions wrapped with macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m6s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m49s
2025-06-18 23:14:51 +02:00
Vinzenz Schroeter c492cfab6b even more functions wrapped with macro 2025-06-18 22:40:04 +02:00
Vinzenz Schroeter 21987d05f3 use macros in macros
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 2m0s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m48s
2025-06-18 20:42:33 +02:00
Vinzenz Schroeter 27f231eba0 wrap_function without defined signature 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter bf4e351514 tweak dsl 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter 35e9c36ccd multiple methods in one macro invocation 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter 7d52ccf638 fix Makefile 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter 9ddab5e19a update ci 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter 85d4ed5a3b fix flake, mark which packages work 2025-06-18 00:11:18 +02:00
Vinzenz Schroeter 75e2df41fe export value fields via macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m31s
Rust / build-size-gnu-unstable (pull_request) Failing after 42s
2025-06-17 23:56:11 +02:00
Vinzenz Schroeter 8296773779 fix cp437 prefix, fix example 2025-06-17 22:21:11 +02:00
Vinzenz Schroeter 514c0304b8 clone and free with :: syntax 2025-06-17 22:11:10 +02:00
Vinzenz Schroeter 9756ef39b7 wrap normal methods with macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m31s
Rust / build-size-gnu-unstable (pull_request) Failing after 43s
2025-06-17 22:02:31 +02:00
Vinzenz Schroeter f524038625 generate header by running cbindgen directly 2025-06-17 21:09:54 +02:00
Vinzenz Schroeter 02f629c68b generate some functions with macros, cbindgen 0.29 2025-06-16 21:45:27 +02:00
Vinzenz Schroeter db94fecbb3 more fixes 2025-06-05 17:38:54 +02:00
Vinzenz Schroeter 53493a5fb1 actually change build flags 2025-06-04 22:29:37 +02:00
Vinzenz Schroeter 471717a36f flake musl build
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 4m36s
Rust / build-size-gnu-unstable (pull_request) Failing after 56s
2025-06-03 21:44:08 +02:00
Vinzenz Schroeter 42defc7732 force use of gcc
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 4m38s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m0s
2025-06-03 17:22:12 +02:00
Vinzenz Schroeter 19a9af48ee make header_logger slightly less ugly 2025-06-02 23:28:40 +02:00
Vinzenz Schroeter 579a68c77a size optimized examples build in flake, remove unstable compiler flags from makefile
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 4m38s
Rust / build-size-gnu-unstable (pull_request) Failing after 57s
dynamically linked bin is 16k
2025-06-02 23:10:03 +02:00
Vinzenz Schroeter d98aec63b0 examples work as packages in flake
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m23s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m14s
2025-06-02 17:22:38 +02:00
Vinzenz Schroeter 7b6b4f7e5b split flake.nix, shell per package, generate pkg-config 2025-06-01 16:51:11 +02:00
Vinzenz Schroeter d205ed44b7 version 0.15.0 2025-06-01 13:00:22 +02:00
Vinzenz Schroeter e824baa4ba more configs work now
```
make LIBC=gnu LINK=dynamic
make LIBC=musl LINK=dynamic CC=musl-gcc
make LIBC=musl LINK=static CC=musl-gcc
```
2025-05-30 00:40:08 +02:00
Vinzenz Schroeter 4d9c9e2ac4 clean up .PHONY and all
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m20s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m14s
2025-05-28 17:29:28 +02:00
Vinzenz Schroeter a4699b9bc8 rename size-optimized to size_optimized 2025-05-28 16:48:19 +02:00
Vinzenz Schroeter c7d40b828b per-config build output using VPATH
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m13s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m13s
based on https://make.mad-scientist.net/papers/multi-architecture-builds/
2025-05-28 15:07:04 +02:00
Vinzenz Schroeter 6c3792330d do not overwrite header if content did not change 2025-05-28 12:25:30 +02:00
Vinzenz Schroeter 2d937b9c3c simplify conditional logic with constructed macro names
based on https://make.mad-scientist.net/constructed-macro-names/
2025-05-28 11:49:44 +02:00