slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.09k stars 533 forks source link

Building slint apps under Bazel #5279

Open andrew-otiv opened 1 month ago

andrew-otiv commented 1 month ago

Ubuntu 24.04 LTS

We are struggling to build slint apps using the Bazel build sysem and rules_rust. The issue we are currently hitting is in khronos_api crate:

https://github.com/brendanzab/gl-rs/pull/536

Are there any public projects using slint building with bazel that we can follow?

tronical commented 1 month ago

Good question. I haven't heard of anyone attempting this.

Do you know where the gl-rs dependency is coming from? I'm a bit surprised to see that in the context of Slint.

ogoffart commented 1 month ago

I'm not aware of anyone using bazel to build a Slint app.

Could you please paste the exact error you're facing? What exact include_bytes is concerned?