uclibc/mips: fixed SA_* mismatched types - #3211
Conversation
|
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
|
The following error occurs when compiling I found the Modified to use ulong type uniformly, can compile Please review it. |
|
This is a breaking change and I'd recommend deprecating them first to inform users. Read our policy: https://github.com/rust-lang/libc/blob/master/CONTRIBUTING.md#breaking-change-policy |
|
Hi @JohnTitor , deprecated attribute has been added, please review it. |
|
Please do not change their types, also it'd be great if could squash commits into one once it's done! |
|
Hi @JohnTitor , Does that mean adding only the |
|
Yes, we should inform users that we're going to introduce a breaking change before actually doing so. By this users can prepare that change and we can prevent their code from being broken. |
|
Hi @JohnTitor , Add |
|
Hi @JohnTitor , change label status to |
|
Sorry for the absence! |
|
OK, I'll take care of it when I can rebase it. |
|
@cppcoffee could you squash this so it drops the merge commits? Looks like this Also a couple different ways to do it here https://stackoverflow.com/questions/5189560/how-do-i-squash-my-last-n-commits-together I will backport only this PR (to target stable, 0.2) but as soon as it merges, you can create a new PR doing the actual fix (which will be in 1.0 when that happens). I opened #3887 to make sure we don't forget this. @rustbot label +stable-nominated |
|
Hey @cppcoffee, thank you for updating but this needs a rebase and squash - not merge (no merge commits policy). Could you try to follow the instructions from my comment? If that doesn't work then let me know and I can help you figure it out (or worst case I can do it for you, but I think you should be able to get it working). |
|
PR rebase done. |
|
@cppcoffee thank you for getting this up to date. Unfortunately after some digging, it seems like this wouldn't be correct - see #3887 (comment). What would be correct is to change all the You can just do the actual change without deprecation notices, it just won't get released until 1.0. |
|
Oh, it looks like |
|
Hi @tgross35, Use the |
|
LGTM, but please rebase and squash (and update the title/description). Comment |
|
@cppcoffee could you rebase and squash as mentioned above? |
|
rebase and squash done. |
|
Thanks! There are some CI issues but it's not related to your changes. |
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> (backport <rust-lang#3211>) (cherry picked from commit e8f54bb)
use ulong type uniformly.