How safe is it today to pre-compile Rakudo code to PIR and expect
that to behave identically to as if I compiled from .pm at runtime?
I believe PCT is just generating PIR anyway, so my initial guess is
that there should be no differences. Are there any gotchas, like
compile-time dependency checks, that I should look out for?
I just added the following to my project Makefile attempting to
tighten my code-compile-test loop:
PIR = $(shell ls lib/*.pm t/*.pm | sed s/pm/pir/)
prebuild: $(PIR)
%.pir: %.pm
$(PERL6) --target=pir --output=$@ $<
Should I go further and try to compile to PBC?
Chris