build: install Rust toolchain for Slint

This commit is contained in:
dijunkun
2026-07-22 17:23:35 +08:00
parent 2c20599800
commit 37c4fe2e8a
3 changed files with 37 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ package("slint")
add_configs("shared", {description = "Build the Slint runtime as a shared library", default = true, type = "boolean", readonly = true})
add_deps("cmake")
add_deps("rust 1.92.0", {host = true, private = true, system = false})
on_load(function(package)
package:add("includedirs", "include/slint")