You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[rule based toolchain] rule based API needed to contribute to runtime search paths #722
P3We're not considering working on this, but happy to review a PR. (No assignee)category: toolchainstype: bugSomething that should be working isn't working
Rule-based toolchains can use cc_args to express precise link behavior, including -L paths, -l libraries, link-mode selection, and ordered linker state such as --as-needed or --start-group.
The missing part is runtime handling. Dynamic libraries selected this way can be available to the link action, but they do not become runfiles and do not contribute to runtime_library_search_directories.
cc_toolchain.dynamic_runtime_lib provides runtime handling for toolchain dynamic libraries, but we can't use that when we need to control ordered linker flags for the same runtime libraries.
It would be useful for rule-based toolchain configuration to express toolchain dynamic runtime libraries so binaries and tests get matching runfiles and runtime search paths.
P3We're not considering working on this, but happy to review a PR. (No assignee)category: toolchainstype: bugSomething that should be working isn't working
Activity
trybka commentedon Jul 31, 2026
cc: @armandomontanez