Skip to content

remove the unused exchange_malloc align parameter #7651

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

Closed
wants to merge 1 commit into from
Closed

remove the unused exchange_malloc align parameter #7651

wants to merge 1 commit into from

Conversation

thestinger
Copy link
Contributor

malloc already returns memory correctly aligned for every possible
type in standard C, and that's enough for all types in Rust too

`malloc` already returns memory correctly aligned for every possible
type in standard C, and that's enough for all types in Rust too
@thestinger
Copy link
Contributor Author

Landing as part of #7657.

@thestinger thestinger closed this Jul 8, 2013
@thestinger thestinger deleted the alloc branch July 8, 2013 23:25
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 30, 2021
Fixed issues with to_radians and to_degrees lints

fixes rust-lang#7651

I fixed the original problem as described in the issue, but the bug remains for complex expressions (the commented out TC I added is an example). I would also love some feedback on how to cleanup my code and reduce duplication. I hope it's not a problem that the issue has been claimed by someone else - that was over two months ago.

changelog: ``[`suboptimal_flops`]`` no longer proposes broken code with `to_radians` and `to_degrees`
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