(zilch lang rust cargo): parse cfg values at runtime
This commit is contained in:
parent
9f23179d46
commit
054b320f27
3 changed files with 34 additions and 37 deletions
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue