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