aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros/src/lib.rs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-10-15 14:31:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-11-05 14:18:15 +0100
commit00ed18de3537c783add0be5ea1e0a84979f6f63b (patch)
treed16429cdb9a4aa8c1608821c900a4a2e00bd0209 /rust/qemu-api-macros/src/lib.rs
parentb00bf4edeec97a21bf682c8bde7d6a4557058f5c (diff)
downloadqemu-00ed18de3537c783add0be5ea1e0a84979f6f63b.zip
qemu-00ed18de3537c783add0be5ea1e0a84979f6f63b.tar.gz
qemu-00ed18de3537c783add0be5ea1e0a84979f6f63b.tar.bz2
rust: do not use --no-size_t-is-usize
This is not necessary and makes it harder to write code that is portable between 32- and 64-bit systems: it adds extra casts even though size_of, align_of or offset_of already return the right type. Reviewed-by: Junjie Mao <junjie.mao@hotmail.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions