diff options
Diffstat (limited to 'scripts/rust/rust_root_crate.sh')
| -rwxr-xr-x | scripts/rust/rust_root_crate.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/rust/rust_root_crate.sh b/scripts/rust/rust_root_crate.sh new file mode 100755 index 0000000000..975bddf7f1 --- /dev/null +++ b/scripts/rust/rust_root_crate.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -eu + +cat <<EOF +// @generated +// This file is autogenerated by scripts/rust_root_crate.sh + +EOF + +for crate in $*; do + echo "extern crate $crate;" +done |