Radar · Rust · Archive · Week 25 · Jun 16 – 22, 2025
Slint 1.12 Released with WGPU Support, iOS Port, and Figma Variables Integration
Nice to knowecosystem
- What changed
- Slint 1.12 introduces WGPU support, an iOS port, and Figma variable integration.
- Production impact
- The source does not say.
- Try it
- Create a simple Slint UI file and compile it with the new version.
- Source
- this-week-in-rust.org/blog/2025/06/18/this-week-in-rust-604/
Understand it, then run it
Slint 1.12 adds support for the wgpu graphics backend, a port that lets Slint run on iOS devices, and a way to import variables from Figma design files. Before this release, Slint could only use the older glium backend and ran only on desktop platforms. With the new wgpu support, Slint can target WebGPU, Vulkan, Metal, and DirectX 12, giving developers more flexibility. The iOS port means you can now build Slint applications that run on iPhones and iPads. Finally, the Figma integration lets designers export variable values that the UI can read at runtime, keeping design and code in sync.
Run it now
// This program demonstrates the problem solved by Slint 1.12: WGPU support, iOS port, and Figma variables integration.
// Since Rust 1.98.1 (edition 2024) does not include Slint 1.12, we cannot compile or run the new features here.
// Instead, we print a message explaining what would happen if the new release were available.
fn main() {
// In Slint 1.12, you would enable the `wgpu` backend like this:
// slint::backend::wgpu::init();
// Then create a window that renders with Metal on iOS or WebGPU in the browser.
//
// The iOS port would require adding the `slint-ios` crate and configuring Xcode.
//
// Figma variables could be loaded from a JSON file and accessed in the UI via `slint::Variable`.
//
// Since these features are not yet in the standard library, we simply explain them.
println!("Slint 1.12 adds WGPU support, an iOS port, and Figma variable integration.");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
Slint 1.12 adds WGPU support, an iOS port, and Figma variable integration.
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed