diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-15 14:31:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-05 14:18:15 +0100 |
commit | 00ed18de3537c783add0be5ea1e0a84979f6f63b (patch) | |
tree | d16429cdb9a4aa8c1608821c900a4a2e00bd0209 /meson.build | |
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>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build index bed895091b..4bf397ef3b 100644 --- a/meson.build +++ b/meson.build @@ -3954,7 +3954,6 @@ if have_rust and have_system '--no-doc-comments', '--use-core', '--with-derive-default', - '--no-size_t-is-usize', '--no-layout-tests', '--no-prepend-enum-name', '--allowlist-file', meson.project_source_root() + '/include/.*', |