Skip to content

refactor(runtime): remove all 9 remaining #[path] attributes in runtime.rs - #1255

Merged
Hona merged 2 commits into
devfrom
refactor-remove-runtime-path-attrs
Nov 20, 2026
Merged

Hona merged 2 commits into
devfrom
refactor-remove-runtime-path-attrs

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Removes all 9 remaining #[path = ...] attributes from crates/rune/src/runtime.rs (and 2 from crates/rune/src/a11y/text.rs):

  • Renames crates/rune/src/runtime/virtual/ to crates/rune/src/runtime/virtual_list/ with a thin runtime/virtual_list.rs module root so Rust's reserved keyword virtual no longer requires 4 #[path] overrides.
  • Declares a11y/{tree,node,text,actions,tests}.rs inside crates/rune/src/a11y/mod.rs instead of mounting them inside runtime.rs, exposing only narrow pub(crate) helpers (queue_a11y*) and fields needed by crate::a11y.

@Hona
Hona merged commit 8b6beb0 into dev Nov 20, 2026
1 check passed
@Hona
Hona deleted the refactor-remove-runtime-path-attrs branch November 20, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant