hime
hime copied to clipboard
Compression support is currently broken and should be marked as experimental
It seems like clarify option names in CompilationTask and expose them in CLI · 95d675c (github.com) has broken the compression support.
Currently I forked include-flate and added a bit of a syntax to support loading files with a base directory from environmental variables, the PR is over at Allow user input environmental variables as base path by stevefan1999-personal · Pull Request #21 · SOF3/include-flate (github.com).
The syntax should looks like this
include_flate::flate!(static LEXER_AUTOMATON: [u8] from "{}" on "OUT_DIR");
Notice the new on "OUT_DIR"
here. Maybe we should explicitly use this in Hime.