xref: /qemu/scripts/rust/rust_root_crate.sh (revision 166a4b6e43b8904a150a946243457b7db9567c67)
1#!/bin/sh
2
3set -eu
4
5cat <<EOF
6// @generated
7// This file is autogenerated by scripts/rust_root_crate.sh
8
9EOF
10
11for crate in $*; do
12    echo "extern crate $crate;"
13done
14