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

Fix Psych 4 compatibility and add caching for YAML.unsafe_load_file #368

Merged
merged 1 commit into from Aug 26, 2021

Commits on Aug 26, 2021

  1. Fix Psych 4 compatibility and add caching for YAML.unsafe_load_file

    Psych 4 now load in safe mode by default, which means many
    features such as aliases are disabled by default.
    
    This makes it complicated for Bootsnap to cache, and pretty
    much impossible to precompile.
    
    So until we figure out a better solution, we're better to
    entirely disable that cache for Psych 4+. However it
    can stay active for `YAML.unsafe_load_file`.
    byroot committed Aug 26, 2021
    Copy the full SHA
    1d14e25 View commit details
    Browse the repository at this point in the history