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

(breaking change) bump crystal support to 1.6.0 #1

Merged
merged 5 commits into from
Dec 18, 2024
Merged

Conversation

vrsandeep
Copy link
Owner

@vrsandeep vrsandeep commented Dec 18, 2024

On upgrading to next crystal version, the following error was observed:

Error: instantiating 'Crystal::System::FileInfo.new(LibC::Stat)'

This is due to change in behaviour introduced in Crystal 1.6.0, where File::Info became a struct and in earlier versions. it was abstract struct. Additionally, in the latest version Crystal::System::FileInfo became a module
Issue: crystal-lang/crystal#12385

The new version of libarchive (3.7.4) does not throw error when the archive has bad files. The previous version used in this build was 3.4.x). Modified the check to throw error when none of the files in the archive have valid files.

@vrsandeep vrsandeep merged commit 6a9fb60 into master Dec 18, 2024
1 check passed
@vrsandeep vrsandeep deleted the bump-crystal branch December 18, 2024 21:43
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

Successfully merging this pull request may close these issues.

1 participant