mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() ... and using the sixtyfps! macro The problem is that the OUT_DIR in the build script of the macro crate is reporting a target directory for the host (since the macro itself is built for the host), but we need to get the OUT_DIR of the crate, so query it in the macro. Unfortunatelty, that env variable is only set when the crate (using the macro) has a build script. So use a fallback to find the target directory Fixes #462 |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs |