More function argument patterns for instrument
Currently instrument is very limited regarding the number of arguments and the argument patterns with respect to comptime and anytype (and maybe more).
It would be good to:
- Identify relevant function argument patterns in the Zig ecosystem or standard library / zig compiler and toolchain
- Evaluate which patterns can be realized with the current solution i.e. by using @typeInfo
- Realize support for the most relevant patterns
Examples what may be supported:
- More anytype arguments than just last argument
- More than one type argument
- Comptime arguments other than type (e.g. debug.print)
- Is this even possible with same instrument function or do we need another instrument functions for this
Edited by huntrss