Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable precompilation fallback #5

Open
LLFourn opened this issue Jan 27, 2016 · 0 comments
Open

Option to disable precompilation fallback #5

LLFourn opened this issue Jan 27, 2016 · 0 comments

Comments

@LLFourn
Copy link
Collaborator

LLFourn commented Jan 27, 2016

I've had a couple of times where I released a module which breaks pre-compilation.
It hits one of the precomp bugs, fails to compile, falls back to compiling the original source, but I don't notice it because prove doesn't show it. I want the ability to disable precomp fallback, so it just dies completely.

I think it might be good idea to disable it for make spectest too and see what comes up.

An environment variable would be handy but I guess a pragma like no precomp-fallback could work too.

I think I am talking wrapping this line in an if statement: https://github.com/rakudo/rakudo/blob/nom/src/core/CompUnit/Repository/FileSystem.pm#L78

Thoughts?

EDIT note: I think I should mention that in general precomp is working great so (@niner)++. It has cut one of my project's startup time from around 40s to 1s. I love it so much that I want to make sure that my changes don't quietly break it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant