Is it possible to specify the link section of static assets, such as fonts? #5768
Answered
by
tronical
markszente
asked this question in
Q&A
-
In Rust, I can use the |
Beta Was this translation helpful? Give feedback.
Answered by
tronical
Aug 5, 2024
Replies: 1 comment 1 reply
-
We have an undocumented |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
markszente
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have an undocumented
SLINT_ASSET_SECTION
environment variable, which - if set - will place images and pre-rendered glyphs into the section the variable names. It literally results in the Slint compiler emitting#[link_section = XXX]
:)