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

Update goblin to 0.9 #711

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Conversation

musicinmybrain
Copy link
Contributor

@musicinmybrain musicinmybrain commented Oct 30, 2024

Update goblin to 0.9.

The breaking change from 0.8.0 appears to be the addition of a value to a pub enum associated with TE (terse executable) support; at first glance, it does not look like this should affect cargo-deny’s usage of goblin since it doesn’t match exhaustively on this enum, but it turns out that we do need to add the new te feature to the requested goblin features in order for the peek_bytes API function to be available; see https://github.com/m4b/goblin/blob/d096260201158ed34d64728fd1ab0ca125e2f956/src/lib.rs#L240 and:

match goblin::peek_bytes(&header)

With that small change, everything compiles and cargo test passes.

https://github.com/m4b/goblin/blob/d096260201158ed34d64728fd1ab0ca125e2f956/CHANGELOG.md#092----2024-10-26

Copy link
Member

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Jake-Shadle Jake-Shadle merged commit aa43aad into EmbarkStudios:main Nov 11, 2024
11 checks passed
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.

2 participants