diff --git a/build-aux/rust-regen.sh b/build-aux/rust-regen.sh index 5334af3f..ea54be0e 100755 --- a/build-aux/rust-regen.sh +++ b/build-aux/rust-regen.sh @@ -1,28 +1,27 @@ #!/bin/sh # # Copyright (C) 2021-2023 Red Hat, Inc. All rights reserved. # # Authors: Christine Caulfield # Fabio M. Di Nitto # # This software licensed under GPL-2.0+ # # # Regerate the FFI bindings in src/sys from the current headers # srcheader="$1" dstrs="$2" filter="$3" bindgen \ - --size_t-is-usize \ --no-prepend-enum-name \ --no-layout-tests \ --no-doc-comments \ --generate functions,types,vars \ --fit-macro-constant-types \ --allowlist-var=$filter.* \ --allowlist-type=.* \ --allowlist-function=.* \ $srcheader -o $dstrs