Skip to content

v0.2.12 — Rust toolchain discovery

Choose a tag to compare

@thegeneralist01 thegeneralist01 released this 06 Nov 16:15

Fixed

  • Rust toolchain discovery: respect Cargo installations selected through the host's PATH before checking Cargo home and common Unix locations, including Homebrew. Existing Nix/custom toolchains are no longer shadowed by fallback installations.
  • Build environment: include the resolved Cargo directory in the build PATH across platforms so Cargo can find rustc and sibling tools. Keep Apple's selected SDK and compiler/linker overrides on macOS; do not add Unix directories to Windows PATH.

Thanks to @lumiarna for their first contribution in #1!

Also included from 0.2.11

Native shortcut customization: Projects Settings displays Tern's effective global bindings, including overrides, unbound commands, multiple shortcuts, and key sequences. Edit in Tern opens native Settings; copyable command IDs and Open settings.json provide a fallback for commands absent from the native Keyboard page. Fixed panel controls remain a separate reference.

Verification

  • Real native Tern 0.9.11 on macOS: fresh backend build, PATH toolchain precedence, Cargo-home fallback with Rust absent from the inherited PATH, and plugin reload triggering a backend build.
  • Project creation and persistence across plugin reload and daemon restart; Search opens without backend errors.
  • 12 Luau discovery/environment scenarios, including simulated Linux and Windows behavior. Native Linux/Windows execution was not tested.
  • Tern CLI recognizes the release package as 0.2.12 with ready status and no package problems. The backend source is identical to the live-verified PR.

Update

Use Settings → Plugin updates → Check now, or update from a terminal:

tern plugin install github.com/thegeneralist01/tern-projects --force

Wait for permanent chat deletion to finish first. Linked development checkouts remain protected by Tern's installer.

Full changelog