Skip to content

Desktop

Generally, Slint runs on Windows, macOS, and popular Linux distributions. The following tables cover versions that we specifically test. The general objective is to support the operating systems that are supported by their vendors at the time of a Slint version release.

Operating SystemArchitecture
Windows 10x86-64
Windows 11x86-64, aarch64

When you running an application a console window will show by default.

Disable the console by specifying a WINDOWS subsystem.

When running the application from the command line, if the subsystem is set to windows it will no longer output stdout. To get it back consider using FreeConsole().

See more details at #3235

Add the code to the top of .rs file which contains fn main():

#![windows_subsystem = "windows"]
rust

Or if you want to keep console output in debug mode:

#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
rust

When developing Rust applications on Windows, you might sooner or later observe the program aborting with STATUS_STACK_OVERFLOW, especially in debug builds. This is a known issue that’s a combination of a high demand for stack space and MSVC defaulting to a stack size for the main thread that’s significantly smaller compared to other operating systems.

This is fixed by configuring the linker. Create a .cargo\config.toml file in your project (note the .cargo sub-directory) with the following contents:

[target.x86_64-pc-windows-msvc]
# Increase default stack size to avoid running out of stack
# space in debug builds. The size matches Linux's default.
rustflags = ["-C", "link-arg=/STACK:8000000"]
[target.aarch64-pc-windows-msvc]
# Increase default stack size to avoid running out of stack
# space in debug builds. The size matches Linux's default.
rustflags = ["-C", "link-arg=/STACK:8000000"]
toml

Contact us if you want to use Slint on other platforms/versions.


© 2025 SixtyFPS GmbH