diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-14 10:18:34 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-06 12:44:46 +0100 |
| commit | 0b9d05e3c98fe168f3502ccc422b9171467314fa (patch) | |
| tree | d485a70bce3fd8e77fcbbeeeeca3552425e11979 /rust/qemu-api-macros/src | |
| parent | cff666a3aee566889fcc1ab7167ca0a727af7167 (diff) | |
| download | focaccia-qemu-0b9d05e3c98fe168f3502ccc422b9171467314fa.tar.gz focaccia-qemu-0b9d05e3c98fe168f3502ccc422b9171467314fa.zip | |
rust: cell: add wrapper for FFI types
Inspired by the same-named type in Linux. This type provides the compiler with a correct view of what goes on with FFI types. In addition, it separates the glue code from the bindgen-generated code, allowing traits such as Send, Sync or Zeroable to be specified independently for C and Rust structs. 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