mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
![]() This is relatively straight-forward via a pass in the compiler to collect the resources to embed and then use include_bytes! (once per resource). What's really annoying is that the rust resource enum can't store a &'static [u8] because cbindgen doesn't represent that, probably because the slice representation isn't guaranteed to stay as it is. So instead this, for now, uses raw pointers. |
||
---|---|---|
.. | ||
js | ||
src | ||
static | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
package.json | ||
webpack.config.js |