Skip to content

Remove redundant casts - #161

Closed
FranciscoTGouveia wants to merge 1 commit into
bytecodealliance:mainfrom
FranciscoTGouveia:remove-casts
Closed

Remove redundant casts#161
FranciscoTGouveia wants to merge 1 commit into
bytecodealliance:mainfrom
FranciscoTGouveia:remove-casts

Conversation

@FranciscoTGouveia

Copy link
Copy Markdown

I believe these casts can be safely removed, as the source type is already the target type.

For reference, these changes were found by an optimizer developed as a research project.

CC @nunoplopes

@FranciscoTGouveia

Copy link
Copy Markdown
Author

Does this CI failure have something to do with the PR, or is it unrelated?

@alexcrichton

Copy link
Copy Markdown
Member

Yes, you're modifying auto-generated code which can't be done here. If you'd like to modify this then you can send a PR to the upstream wit-bindgen generator.

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