Repository navigation
0.1.1
Immutable
release. Only release title and notes can be modified.
This release fixes how spec windows are sized, so windows.roc record
keeps one frame size, and ships the MSI packager as its own release. Apps
and their windows.roc commands work as in 0.1.0.
Roc compiler
Built and tested with Roc nightly-2026-11-26-890d6c8. Earlier versions may be incompatible.
Use roc version to check your installation.
Download the tested Roc nightly.
Known issues
- With this nightly,
--opt=speedcan miscompileList.mapover a list
of UI elements or signals
(roc-lang/roc#13391). The
app then corrupts its heap or crashes while mounting its window.
speedis the default profile forbuildandpackage, while
windows.roc testandwindows.roc devuse the dev backend, so specs
can pass while a packaged app fails. The platform avoids the
pattern itself. If an app hits it, build with--profile size, or build
the list with a fold, as the platform does, instead ofList.map.
Use this release
The Reading List starter uses this header in src/main.roc. Use the
pf declaration to pin the same platform bundle in your own app.
app [main, native] {
logic: "../logic/main.roc",
pf: platform "https://github.com/lukewilliamboswell/roc-native-windows/releases/download/0.1.1/roc-native-windows-0_1_1-BUdAuNkseaqeyDLuR1i61H1s5RjCD5y6qK9r6BuNnuFs.tar.zst",
}Getting started
With the tested compiler available as roc, run this in PowerShell on Windows x64.
$tool = 'https://github.com/lukewilliamboswell/roc-native-windows/releases/download/0.1.1/windows-0_1_1-6D2HXLe5rzyYg44FDyVgMcWavig6dmtF1sxBLBeDMfAX.tar.zst'
roc $tool -- init reading-list
Set-Location reading-list
roc windows.roc -- test --target x64mingw
roc windows.roc -- package --target x64mingwPackaging downloads the matching MSI packager and writes
dist/reading-list-x64mingw.msi. Use --target arm64mingw for Windows ARM64.
Changes
- The MSI packager,
roc-windows-msi, now has its own release,
msi-0.1.0.
This platform release links to that packager instead of attaching its
own copies.windows.roc -- packagestill selects the packager for your
build machine and checks its SHA-256 before running it. Releases 0.1.0
and earlier keep using the packagers attached to them.
Fixes
(window-size W H)in a spec now gives the window a W by H client area
whether or not content overflows, and a spec window starts without a
vertical scrollbar. Before, a window could widen by the scrollbar’s
width during a run, andwindows.roc recordstopped with "the window
changed size during GIF recording".