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

Allow not emitting uwtable on Android #83391

Merged
merged 1 commit into from Mar 24, 2021
Merged

Allow not emitting uwtable on Android #83391

merged 1 commit into from Mar 24, 2021

Conversation

ghost
Copy link

@ghost ghost commented Mar 22, 2021

uwtable is marked as required on Android, so it can't be disabled via -C force-unwind-tables=no. However, I found that the reason it's marked as required was to resolve a backtrace issue in Gecko, and I haven't find any other reasons that make it required (yet). Therefore, I assume it's safe to turn it off if a (nice) backtrace is not needed, and submit this PR to allow -C force-unwind-tables=no when targeting Android.

Note that I haven't tested this change on Android as I don't have an Android environment for testing.

@rust-highfive
Copy link
Collaborator

r? @lcnr

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 22, 2021
@rust-log-analyzer

This comment has been minimized.

@lcnr
Copy link
Contributor

lcnr commented Mar 23, 2021

I don't have any experience regarding android and don't really know who does 🤔

r? @alexcrichton maybe, it seems like you have some experience with Android as you wrote the PR fixing #49867. Feel free to reassign

@rust-highfive rust-highfive assigned alexcrichton and unassigned lcnr Mar 23, 2021
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Mar 23, 2021

📌 Commit f900ee3 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 23, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 24, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#83051 (Sidebar trait items order)
 - rust-lang#83313 (Only enable assert_dep_graph when query-dep-graph is enabled.)
 - rust-lang#83353 (Add internal io::Error::new_const to avoid allocations.)
 - rust-lang#83391 (Allow not emitting `uwtable` on Android)
 - rust-lang#83392 (Change `-W help` to display edition level.)
 - rust-lang#83393 (Codeblock tooltip position)
 - rust-lang#83399 (rustdoc: Record crate name instead of using `None`)
 - rust-lang#83405 (Slight visual improvements to warning boxes in the docs)
 - rust-lang#83415 (Remove unnecessary `Option` wrapping around `Crate.module`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 30db261 into rust-lang:master Mar 24, 2021
@rustbot rustbot added this to the 1.53.0 milestone Mar 24, 2021
@ghost ghost deleted the uwtable branch March 24, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants