third_party.pigweed.src/pw_rust
Erik Gilling 6ac2d4b370 pw_format: Add initial support for untyped specifiers
* Introduces a %v format specifier for untyped data arguments.
* For stable toolchains arguments must be annotated with their
  type using `value as type`.
* Future support for the experimental feature `type-alias-impl-trait`
  will allow arguments to not be annotated.
* Currently only i32 and u32 arguments are supported to keep this
  patch small.
* pw_log_backend_println, pw_log_backend_printf, and pw_tokenizer
  are updated to work with the new APIs.

Change-Id: I6af05ff3d76d57e60f80d79a0554dc85d0df0fe1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/187650
Reviewed-by: Taylor Cramer <cramertj@google.com>
Commit-Queue: Erik Gilling <konkers@google.com>
2024-03-14 00:27:42 +00:00
..
bazel_patches
examples pw_format: Add initial support for untyped specifiers 2024-03-14 00:27:42 +00:00
BUILD.bazel pw_format: Add initial support for untyped specifiers 2024-03-14 00:27:42 +00:00
BUILD.gn
docs.rst pw_rust: Tweak docs for Rust tokenized logging example 2024-03-08 02:05:34 +00:00
OWNERS
rust.gni