3 ms·
I wrote this tool a long time ago, which allows you to embed files and then access them as a "filesystem" with stdio. May be of interest: https://git.sr.ht/~si
by ddevault 7y ago
I wrote this tool a long time ago, which allows you to embed files and then access them as a "filesystem" with stdio. May be of interest:
https://git.sr.ht/~sircmpwn/koio https://git.sr.ht/~sircmpwn/koio
If you just want the contents of the file as a symbol, the approach described in the article is 100% the way to go.