Page MenuHomeClusterLabs Projects

No OneTemporary

diff --git a/build-aux/rust-regen.sh b/build-aux/rust-regen.sh
index 0502ebd9..01b1efa1 100755
--- a/build-aux/rust-regen.sh
+++ b/build-aux/rust-regen.sh
@@ -1,29 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2021-2022 Red Hat, Inc. All rights reserved.
#
# Authors: Christine Caulfield <ccaulfie@redhat.com>
# Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# 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-recursive-whitelist \
+ --no-recursive-allowlist \
--no-prepend-enum-name \
--no-layout-tests \
--no-doc-comments \
--generate functions,types,vars \
--fit-macro-constant-types \
- --whitelist-var=$3.* \
- --whitelist-type=.* \
- --whitelist-function=*. \
+ --allowlist-var=$3.* \
+ --allowlist-type=.* \
+ --allowlist-function=.* \
$srcheader -o $dstrs

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jul 8, 3:20 PM (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2002157
Default Alt Text
(933 B)

Event Timeline