diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-11-16 22:36:22 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-11-16 22:36:22 +0100 |
| commit | f38efe3ea55ab83d0f0a13b9e52ea61daf880226 (patch) | |
| tree | 40c20d3f40f2036c1c19f5ee7c7316edec80fb5d /stubs/.gitignore | |
| parent | 854788d8824fceaf0ce45045a56150e0bc92f2ee (diff) | |
Add --no-log stub flavor and a second jar
The --no-log flag in gen_class.py is now wired through the body
generators: emitted stubs skip KotlinProxyLog.loaded()/call() and route
reference returns through kotlin.proxy.KotlinProxyNoLog.returnValue
instead, so the generated trio references only KotlinProxyNoLog (call/
loaded methodrefs are kept out of the constant pool; max_stack is
recomputed for the logging-free bodies).
Makefile builds two jars from the same kotlin.proxy.* sources:
dist/kotlin-proxy-compiler-stubs.jar (logging) and
dist/kotlin-proxy-compiler-stubs-nolog.jar (--no-log).
Adds KotlinProxyNoLog (logging-free returnValue/newInstance) and ignores
its build outputs like the log flavor's.
Diffstat (limited to 'stubs/.gitignore')
| -rw-r--r-- | stubs/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stubs/.gitignore b/stubs/.gitignore index bb372d0..639c859 100644 --- a/stubs/.gitignore +++ b/stubs/.gitignore @@ -1 +1,2 @@ classes_min/ +classes_nolog/ |
