diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-11 12:18:06 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-10 23:34:43 +0100 |
| commit | 7f65d4e58b67d6e5ee05c9381a50ef1eba3a5a1e (patch) | |
| tree | c95e80c41e4eb93b73f17236a9d1022008476e50 /rust/qemu-api-macros/src | |
| parent | ca0d60a6ad777ab617cbc4e6f328eaff60617b3f (diff) | |
| download | focaccia-qemu-7f65d4e58b67d6e5ee05c9381a50ef1eba3a5a1e.tar.gz focaccia-qemu-7f65d4e58b67d6e5ee05c9381a50ef1eba3a5a1e.zip | |
rust: add a utility module for compile-time type checks
It is relatively common in the low-level qemu_api code to assert that a field of a struct has a specific type; for example, it can be used to ensure that the fields match what the qemu_api and C code expects for safety. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions