commit | 00ed18de3537c783add0be5ea1e0a84979f6f63b | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Oct 15 14:31:54 2024 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 05 14:18:15 2024 +0100 |
tree | d16429cdb9a4aa8c1608821c900a4a2e00bd0209 | |
parent | b00bf4edeec97a21bf682c8bde7d6a4557058f5c [diff] |
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>