bazelbuild / bazelbuild/rules_closure

Support compiler modules

Open
#110 9 comments 1 reaction 0 assignees View on GitHub
enhancement P3
Dominant language
Java
Stars
159
Forks
111
PR merge metrics
No merged PRs in 30d

Description

The current API does not make the use of compiler level modules easy (all the flags need to be passed via `defs`). It would be nice to have first class module support which set at least `rename_prefix_namespace`, `module_wrapper` and `module`. Additionally, automatically counting the number of files in each module and hiding that complexity from the user would be ideal.

Contributor guide

Open the contributing guide

Research direction

Start by examining how compiler flags are currently passed through defs. Trace how rename_prefix_namespace, module_wrapper, and module reach the compiler, then determine how module file counts could be derived and exposed. Done means users have first-class module support without manually supplying these flags or managing the file-count complexity.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.