xemu/scripts/rust/rust_root_crate.sh

14 lines
167 B
Bash
Executable File

#!/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