-
v0.65.7
Stablereleased this
2026-11-19 10:59:06 -08:00 | 6 commits to master since this release0.65.6, built for every platform
0.65.6 was tagged but never published: it passed every gate on the Mac and
then failed to compile for Windows, so the release stopped before anything
was built for distribution. This release is 0.65.6 with that fixed; its
notes are below, unchanged.- The Windows build compiles again. One comparison in the language
server's new "is this file already held under another spelling" check moved
a directory identity that is a small copyable pair on macOS and Linux but an
owned path on Windows (lucisv_server/src/state/incremental.rs). - The gates now compile for the other platforms.
tools/gates.shhas a
newcrossstep:cargo checkof the three shipped binaries for Windows
and Linux, with the same toolchain the release build uses. Until now
platform-conditional code was first compiled by the release build itself,
after the gates.
Saving a file no longer re-indexes the workspace
(
docs/features/localized-reindex; TODO §71.1. Measured on OpenTitan'shw
tree, 4 058 files, with the server driven the way VS Code drives it.)-
What was happening. Every save cost about 160 ms of whole-index work
whatever was edited — 117 ms of it re-resolving all 470 000 cross-file
references — and VS Code triggered it twice, once for the save and once for
its own file watcher. Watcher events for files the index could not hold (a
generated file in a gitignored directory, a file outside the filelist or
folder scope, a held file reported through a symlinked root or in another
letter case) started a whole rescan with the progress bar, 270–750 ms. -
Now the index does only what the edit can reach.
edit, then save before now a comment, or the watcher's echo of any save ~160 ms under 0.3 ms a local signal in uart_txorprim_flop~170 ms 4 ms a member added to uart_reg_pkg~167 ms 12 ms a line above a module 125 files instantiate ~163 ms 47 ms a member added to a package 677 files import ~162 ms 92 ms a watcher event for a file outside the scope up to 746 ms, with the bar 3.5 ms The index records which names each file looked up — including the ones it
did not find — and re-resolves only the readers of names whose meaning
changed. A save whose index record is unchanged merges nothing. -
Still wide, on purpose. Adding or deleting a file; a burst of more
files in one watcher event than half the index holds (a branch switch),
which takes the one rescan it always did; an edit above a declaration many
files use. Every save still re-checks every open file's diagnostics, so a
lucisv.tomlor waiver edit takes effect at the next save as before — with
200 files open that is most of a save (53 ms, against ~205 ms before). -
The price. Every whole rescan costs a few per cent more for the table
that makes the rest cheap: warm OpenTitan startup is 40–120 ms slower,
depending on machine load. -
How it is known to be right. After any sequence of edits, everything
the server answers must equal what a freshly started server answers for the
same files. QA built that oracle independently and it failed the first cut
on four stale answers (include links to headers outside the scope, lint
configuration, a file-age check macOS defeats, excluded open buffers); all
four are fixed and are now tests. The final build: 312 hand-written
comparisons and twelve random 300–500-step runs over the corpus and
OpenTitan with no divergence it caused. -
Also. The language server's
line-lengthlint now follows the chosen
formatting style's width (80 underansiandnxp, 120 under
microsoft), closing the limit noted in 0.65.5. Removing an included
header no longer leaves other files' include links pointing at it. -
Known, and next. Found by this round's QA and present in earlier
releases too: an edit made while a whole rescan is running can be applied
out of order, leaving the server's copy of the buffer wrong until the file
is reopened; a watcher event that names only a directory leaves stale
state; an excluded file stays indexed after it is closed. These are the
next round's work.
Downloads
- The Windows build compiles again. One comparison in the language