(zilch lang rust cargo): parse cfg values at runtime

This commit is contained in:
puck 2024-11-27 14:18:18 +00:00
parent 9f23179d46
commit 054b320f27
3 changed files with 34 additions and 37 deletions

View file

@ -15,5 +15,6 @@
];
overrides.preBuild = ''
(cat buildrs-runner.rs; printf '\0') | xxd -i -n runner_source > runner_source.h
(cat cfg-fetch.rs; printf '\0') | xxd -i -n cfgfetch_source > cfgfetch_source.h
'';
}