Skip to content

Remove unused compute_feature_lists - #179

Merged
AlexanderLanin merged 1 commit into
mainfrom
nira_feature_cleanup
Nov 3, 2026
Merged

AlexanderLanin merged 1 commit into
mainfrom
nira_feature_cleanup

Conversation

@nradakovic

Copy link
Copy Markdown
Member

Delete features/make_cc_features.bzl, which nothing loads and which calls undefined helpers. Remove the body-less compute_feature_lists stub from features/custom/qnx/make_cc_features.bzl.

Point the BUILD.template comment at get_feature_lists(), the function the template actually loads.

Delete features/make_cc_features.bzl, which nothing loads and which calls
undefined helpers. Remove the body-less compute_feature_lists stub from
features/custom/qnx/make_cc_features.bzl.

Point the BUILD.template comment at get_feature_lists(), the function
the template actually loads.
@nradakovic nradakovic self-assigned this Nov 3, 2026
@nradakovic nradakovic added p4 Negligible impact - improvements and/or cosmetic features. clean code cleanup Remove commented / unused functions and variables labels Nov 3, 2026
@nradakovic nradakovic linked an issue Nov 3, 2026 that may be closed by this pull request
5 tasks
@AlexanderLanin
AlexanderLanin requested a balanced review from Copilot November 3, 2026 08:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the unused-code cleanup and template documentation update.

No open issues 🎉

What changed in this PR

Removes unused compute_feature_lists code and aligns the template documentation with the existing get_feature_lists() entry point.

Changes:

  • Deletes the unused shared helper that calls undefined functions.
  • Removes the docstring-only QNX stub.
  • Corrects the BUILD template comment without changing its behavior.
File Description
templates/​BUILD.template Updates the comment to reference get_feature_lists().
features/​make_cc_features.bzl Deletes the unused shared helper file.
features/​custom/​qnx/​make_cc_features.bzl Removes the unused compute_feature_lists stub.

Review effort: Balanced

@AlexanderLanin
AlexanderLanin merged commit 777f66f into main Nov 3, 2026
15 of 19 checks passed
@AlexanderLanin
AlexanderLanin deleted the nira_feature_cleanup branch November 3, 2026 08:15
@github-project-automation github-project-automation Bot moved this from in review to Done in INF - Infrastructure Community Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean code cleanup Remove commented / unused functions and variables p4 Negligible impact - improvements and/or cosmetic features.

Projects

Development

Successfully merging this pull request may close these issues.

Remove unused functions from features

3 participants