Replace int/uint by isize/usize in libstd/thread.rs#22510
Replace int/uint by isize/usize in libstd/thread.rs#22510bors merged 1 commit intorust-lang:masterfrom GuillaumeGomez:audit-integer-libstd-thread
Conversation
|
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
src/libstd/thread.rs
Outdated
There was a problem hiding this comment.
This can just as well be u32
|
Thanks! r=me with a squash Also feel free to comment on a PR whenever you update it because sadly github does not send out notifications otherwise. |
|
@alexcrichton: I think it can be merged now. Except if @aturon sees something else which needs to be changed ? |
|
Could you squash the commits together as well? |
|
Done ! |
|
@bors: r+ d708089 |
|
⌛ Testing commit d708089 with merge 54449c5... |
|
💔 Test failed - auto-linux-64-x-android-t |
|
@bors: retry |
|
⚡ Previous build results are reusable. Rebuilding only auto-linux-32-nopt-t, auto-linux-32-opt, auto-linux-64-nopt-t, auto-linux-64-opt, auto-linux-64-x-android-t, auto-mac-32-opt, auto-mac-64-nopt-t, auto-mac-64-opt, auto-win-32-nopt-t, auto-win-32-opt, auto-win-64-nopt-t, auto-win-64-opt... |
|
💔 Test failed - auto-win-32-nopt-t |
|
@bors: retry clean |
|
@bors: rollup |
|
I'm getting these errors in libstd: Could you try to make sure |
|
@bors: r- |
|
Tests have been fixed. @alexcrichton @Manishearth |
|
@Manishearth This looks incorrect, it is casting a pointer to a |
|
Where? Can you file a followup bug or pull-request? |
|
You're talking about the change in the tests ? I didn't see that. Erf... Sorry about that... |
|
I'm working on it. |
Conflicts: src/libstd/thread.rs
Part of #22240.