Skip to content

Implement __morestack for ARM #5327

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 5 commits into from

Conversation

ILyoan
Copy link
Contributor

@ILyoan ILyoan commented Mar 12, 2013

Fix #4489

Enabling morestack on arm-android target.
Passed all of the make check tests except fail! relative stuffs(See #5265). I'm going to investigate this issue.

Recompilation of LLVM will be needed to build android-enabled rustc. but you might don't need to rebuild LLVM to build android-disabled(default) rustc.

@brson
Copy link
Contributor

brson commented Mar 29, 2013

Superseded by #5612

@brson brson closed this Mar 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 23, 2021
Improve `needless_borrow` lint

fixes: rust-lang#5327
fixes: rust-lang#1726
fixes: rust-lang#1212

This is merging `needless_borrow` into the `dereference` pass in preparation for `explicit_auto_deref`. `explicit_auto_deref` needs to implement most of what `needless_borrow` implements in order to work.

There is a minor regression here where `let x: &str = &x.deref()` will trigger `needless_borrow` without triggering `explicit_deref_methods`. Removing the redundant borrow will cause `explicit_deref_methods` to trigger. This will be fixed when `explicit_auto_deref` is implemented.

changelog: Lint `needless_borrow` when a borrow is auto-derefed more than once
changelog: Lint `needless_borrow` in the trailing expression of a block for a match arm
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants