xref: /qemu/scripts/rust/rust_root_crate.sh (revision 1f31243a8c80fac27e52cc362cb1e2c922cf0e1b)
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