Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/governance-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,16 @@ jobs:
| grep -v venv | grep -v __pycache__ || true)
MAKE_FILES=$(git ls-files 'Makefile' 'Makefile.*' '*.mk' \
| grep -v '\.github/' || true)
JAVA_FILES=$(git ls-files '*.java' '*.kt' '*.kts' || true)
# Platform-required JVM shims carve-out 2026-06-02:
# Java is permitted only in Android source trees
# (android/**/src/**/*.java) because Android instantiates
# Service/BroadcastReceiver/AppWidgetProvider/Activity classes by
# name at platform boundaries — Rust/Zig cannot provide JVM
# bytecode for these. Each Android Java shim must be a minimal
# delegating wrapper (typically <10 LoC) that JNIs into Rust/Zig
# immediately. Kotlin (*.kt, *.kts) remains banned outright.
JAVA_FILES=$(git ls-files '*.java' '*.kt' '*.kts' \
| grep -vE '(^|/)android/.*/src/.*\.java$' || true)
SWIFT_FILES=$(git ls-files '*.swift' || true)
DART_FILES=$(git ls-files '*.dart' 'pubspec.yaml' || true)
# V-lang detected by manifest (v.mod / vpkg.json); the .v extension
Expand Down
Loading