• v0.45.0
    ci / checks (push) Successful in 1m14s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 6m25s
    Stable

    lucio released this 2026-09-05 11:35:57 -07:00 | 145 commits to master since this release

    Cross-file semantics: type spans, re-exports, hierarchical tails

    • Type names carry spans. Every DataType and disable target knows
      its range on the AST; the semantic crate's text scanner (scan.rs) is
      deleted. Definition and hover on a type name land exactly, pkg::t
      selecting t; a segment the source spells differently from the
      parser's join is recorded with an empty range rather than guessed.
    • Package re-exports are real references. export pkg::item; and
      export pkg::*; bind both halves, the index records each package's
      re-exports, and definition, hover, completion after pkg::, references
      and rename follow them transitively. On opentitan a name reached only
      through export spi_device_reg_pkg::SramDepth; now resolves.
    • Renaming an internal net edits its hierarchical uses in other files.
      A module now has a hierarchical surface (nets, variables, instances)
      read only behind an instance head — assign w = u_x.sig; in another
      file renames with sig's declaration, nested u_a.u_b.sig included —
      while connection lists still see ports and parameters only. Completion
      after u_x. in an expression lists the hierarchical members. Over
      opentitan's hw/, 514 hierarchical references resolve that did not
      before; a rename that now reaches one more file costs one more file's
      read.
    • The index facts format is 19; stores written by earlier releases are
      rebuilt on first use.
    Downloads