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