[OpenIndiana-discuss] Creative Suite + Office Suite + CAD on OpenIndiana
gea at napp-it.org
gea at napp-it.org
Mon Oct 26 10:58:37 UTC 2026
*More and more newer applications are made with Rust (RustFS, Artcraft),
so the question is:
how good is Rust support in Illumos or Solaris?:*
Claude: "/Both are officially supported, but illumos is better supported
than Solaris. /
* *illumos* (|x86_64-unknown-illumos|), *Solaris x86*
(|x86_64-pc-solaris|, Solaris 11.4) and *Solaris SPARC*
(|sparcv9-sun-solaris|, Solaris 11.4) are all listed under “Tier 2
with Host Tools”.
* That means |rustc| and |cargo| are meant to run natively on all
three, so each can serve as a development platform and not only as a
cross-compilation target.
* Tier 2 means the targets are guaranteed to build. Automated tests
are not always run, so a working build is not guaranteed./"
/
For ArtCraft/WordCraft on illumos, most of the dependency tree works
without changes.
The problems are concentrated in the GUI and graphics stack. This comes
from the build on .199. (Wordcraft)
*Size and sources*
* The build has 679 crates. Most come from crates.io, the project’s
own crates (|craft-ui|, |craft-pdf|, |craft-print|, |craft-i18n|,
|krilla|) come from the storytold/craft-libs Git repository.
* |winprint| and |craft-winprint-gdi| are Windows printing crates.
They are not used on illumos.
* The base layers support illumos upstream: |libc| has illumos code in
12 source files, and |rustix| in 62. The C-backed |aws-lc-sys| also
compiled here.
*Crates that needed a local illumos patch (6 of 679)*
Crate Problem Fix
|wayland-backend| does not compile on illumos patched copy
|rfd| no file dialog backend for illumos illumos added to the existing
Linux/BSD |cfg| lists
|winit| |is_main_thread| only handles other OSes illumos and Solaris
added
|wgpu| + |wgpu-core| + |wgpu-core-deps-windows-linux-android| OpenGL
backend only enabled for Windows/Linux/Android/BSD illumos added in
|build.rs| and |Cargo.toml|
|wgpu-core| indirect validation kills the device on software OpenGL
falls back to “off”
None of the upstream versions (|rfd| 0.17.2, |winit| 0.30.13, |wgpu-hal|
30.0.1, |wgpu-core| 30.0.1) mention illumos or Solaris in their sources.
Each patch adds illumos to an existing Linux/BSD code path. |arboard|
(clipboard) also has no illumos code but compiled without a patch,
probably through its generic Unix path.
*What this means in practice*
* *Fragile:* The patches are tied to the exact versions in
|Cargo.lock|. After a crate update (for example a newer |wgpu|), the
build script copies the new sources and re-applies them. The |sed|
anchors can break, and then you get a clear “patch did not apply”
warning instead of a silent failure.
* *Upstreaming:* The |rfd|, |winit| and |wgpu| changes are small and
would be reasonable pull requests. |wgpu| has already dropped some
illumos-specific code before, so it’s worth asking them first.
* *Not tested:* I did not run anything beyond the smoke test on
software OpenGL. Printing, the file dialogs and the other features
that depend on these crates are untested here.
So the best solution would be:
add Git Issue reports/ feature requests to the critical Crates and hope
for better Illumos support especially around the Artcraft project - best
from members of the Illumos/OpenIniana project
Gea
--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com
More information about the openindiana-discuss
mailing list