If I modify some `JVM_IR` lowering code, which cha...
# kontributors
s
If I modify some
JVM_IR
lowering code, which changes the jvm bytecode of
stdlib
classes, can I just run
./gradlew jvmCompilerTest
to test the change or I should run something like
./gradlew coreLibsTest
to build the
stdlib
first?
d
Use
./gradlew dist
to (re)build stdlib
🙏 1
i
Note that if you expect to see the changes you made in the compiler in the stdlib code, you need to perform so-called bootstrap: • publish compiler artifacts with
publish
gradle task, • then on the next gradle invocation specify property
boostrap.local
, e.g.
gradlew <tasks> -Pboostrap.local
This way the entire project including stdlib will be rebuilt with the fresh compiler.
🙏 1