mirror of
https://github.com/LearningOS/lab0-0-setup-env-run-os1-d0zingcat.git
synced 2026-06-02 15:10:08 +00:00
8 lines
279 B
Bash
Executable File
8 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
rustc generator.rs
|
|
rm -f ../src/register/hypervisorx64/mod.rs;
|
|
for i in *.txt; do
|
|
./generator <$i > ../src/register/hypervisorx64/`basename -s .txt $i`.rs;
|
|
echo "pub mod $(basename -s .txt $i);" >> ../src/register/hypervisorx64/mod.rs;
|
|
done
|
|
rm -f generator |