Skip to content

Commit 328fc4c

Browse files
committed
docs: add Unreleased section to changelog
Summarize the compat module, OpaqueInstanceKind, ensure_rustc_commit.sh infrastructure, and ADR-003 additions on this branch.
1 parent 9026a41 commit 328fc4c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
77
Note: this changelog was introduced at 0.2.0. The 0.1.0 section is a
88
retroactive best-effort summary; earlier changes were not formally tracked.
99

10+
## [Unreleased]
11+
12+
### Added
13+
- `src/compat/` module isolating all rustc internal API usage behind a stable boundary; printer/ now has zero `extern crate rustc_*` declarations and zero direct `tcx.query()` calls
14+
- `OpaqueInstanceKind` owned type replacing `middle::ty::InstanceKind<'tcx>`, eliminating the `'tcx` lifetime parameter from `SmirJson`, `LinkMapKey`, `FnSymInfo`, `LinkMap`, `DerivedInfo`, and `SmirJsonDebugInfo`
15+
- `metadata.rustc-commit` field in `rust-toolchain.toml` as single source of truth for the rustc commit used by UI tests
16+
- `ensure_rustc_commit.sh` helper that reads the expected commit from `rust-toolchain.toml` (via `yq`) and ensures the rust checkout (regular or bare+worktree) is at that commit; CI installs `yq` on PATH to support this
17+
- ADR-003 documenting compat layer design decisions and validation results from two toolchain bump stress tests (6-month and 13-month jumps)
18+
19+
### Changed
20+
- Routed `mk_graph/` stable_mir imports through the compat module
21+
- Eliminated thin compat wrappers in printer/ (`mono_collect`, `mono_item_name`, `has_attr`, `def_id_to_inst`, `GenericData` newtype, `SourceData` alias); callers now go through the compat boundary directly
22+
- UI test scripts (`run_ui_tests.sh`, `remake_ui_tests.sh`) now source `ensure_rustc_commit.sh` and use `RUST_SRC_DIR` instead of using the raw directory argument directly
23+
1024
## [0.2.0] - 2026-02-21
1125

1226
### Added

0 commit comments

Comments
 (0)