Repository navigation
Build native Preview link plans and runtime policy - #3364
Draft
karim-alweheshy wants to merge 4 commits into
Draft
karim-alweheshy wants to merge 4 commits into
karim-alweheshy wants to merge 4 commits into
Conversation
added 3 commits
September 23, 2026 20:58
Add the static-library response mode, parse driver policy into declared metadata, and keep ordinary-link behavior covered by its existing tests. Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Query the selected Clang driver for its Preview runtime closure and validate the bounded response contract with unit tests. Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add processing for native static-library link inputs and a helper that plans runtime linker arguments. Preserve literal static-provider values and ordinary shell-quoted arguments as separate contracts. Native Preview activation remains a later change.
Stack
Based on #3361. The updated parent is incorporated and the parser conflict is resolved. Land #3361 first, then reconcile and revalidate this branch against
main; do not merge into the feature base.Validation
Local processor tests passed (46), as did runtime-planning tests (28). The runtime-helper Bazel target executed and passed; the processor target reused a cached result. Scoped Buildifier and whitespace checks passed. Generated-example and Canvas behavior were not tested.
Testing
Run
bazel test //tools/params_processors:link_params_processor_tests //test/internal/bazel_integration_files:preview_runtime_link_params.