mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-03-26 18:22:55 -07:00
Generated Rust root crate source files contain the wrong path to the rust_root_crate.sh script. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/r/20251007194427.118871-1-stefanha@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
14 lines
172 B
Bash
Executable File
14 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
cat <<EOF
|
|
// @generated
|
|
// This file is autogenerated by scripts/rust/rust_root_crate.sh
|
|
|
|
EOF
|
|
|
|
for crate in $*; do
|
|
echo "extern crate $crate;"
|
|
done
|