I think you have stumbled on the case where you try to precompile code with the @infiltrate
statements which does not work as startup.jl
is not loaded by precompilation pipeline. The workflow that I use is:
- Let the code to precompile without any
@infiltrate
statement in the code - Then add
@infiltrate
statements in the code and letRevise
to recompile the necessary methods.
The first step could be resolved if we had ability to set a custom startup.jl
file that is passed to precompilation, which could be ignored when running tests.