Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3155730
rust-regen.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
600 B
Referenced Files
None
Subscribers
None
rust-regen.sh
View Options
#!/bin/sh
#
# Copyright (C) 2021-2023 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"
shift; shift; shift
bindgen \
--no-prepend-enum-name \
--no-layout-tests \
--no-doc-comments \
--generate functions,types \
--fit-macro-constant-types \
--allowlist-var=$filter.* \
--allowlist-type=.* \
--allowlist-function=.* \
$srcheader -o $dstrs "$@"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Thu, Feb 27, 12:47 AM (14 h, 16 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1465967
Default Alt Text
rust-regen.sh (600 B)
Attached To
Mode
rC Corosync
Attached
Detach File
Event Timeline
Log In to Comment