zilch/lang/rust/helpers/generate-files
Puck Meerburg 56b114ef2c support building with chicken-install too
Change-Id: I47510ca9d5892f1def55ab14f610ba796a6a6964
2025-11-19 12:25:55 +00:00

6 lines
399 B
Bash

#!/bin/sh
(cat helpers/src/bin/buildscript-runner.rs; printf '\0') | xxd -i -n runner_source > runner_source.h
(cat helpers/src/bin/rustc-wrapper.rs; printf '\0') | xxd -i -n rustc_wrap_source > rustc_wrap_source.h
(cat helpers/src/bin/cfg-reader.rs; printf '\0') | xxd -i -n cfgfetch_source > cfgfetch_source.h
(cat helpers/src/bin/false.rs; printf '\0') | xxd -i -n false_source > false_source.h