Skip to content

Another rollup #21730

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

Merged
merged 30 commits into from
Jan 29, 2015
Merged

Another rollup #21730

merged 30 commits into from
Jan 29, 2015

Conversation

Manishearth
Copy link
Member

Should clear our backlog of rollups from the queue

retep998 and others added 30 commits January 25, 2015 23:00
Signed-off-by: Peter Atashian <[email protected]>
the syntax of 'case' is:
`case word in [[(] pattern [| pattern] ...) list ;; ] ... esac`

`list` don't have to issue `break`. `break` is normally used to exit a
`for`, `until` or `while` loop.
There are some explicit Send/Sync implementations for Window's types
that don't exist in Unix. While the end result will be the same, I
believe it's clearer if we keep the explicit implementations consistent
by making the os-specific types Send/Sync where needed and possible.

This commit addresses pipe

src/libstd/sys/unix/pipe.rs
unsafe impl Send for UnixListener {}
unsafe impl Sync for UnixListener {}

src/libstd/sys/windows/pipe.rs
unsafe impl Send for UnixStream {}
unsafe impl Sync for UnixStream {}
unsafe impl Send for UnixListener {}
unsafe impl Sync for UnixListener {}
unsafe impl Send for UnixAcceptor {}
unsafe impl Sync for UnixAcceptor {}
unsafe impl Send for AcceptorState {}
unsafe impl Sync for AcceptorState {}
There are some explicit Send/Sync implementations for Window's types
that don't exist in Unix. While the end result will be the same, I
believe it's clearer if we keep the explicit implementations consistent
by making the os-specific types Send/Sync where needed and possible.

This commit addresses tcp. Existing differences below:

src/libstd/sys/unix/tcp.rs
unsafe impl Sync for TcpListener {}
unsafe impl Sync for AcceptorInner {}

src/libstd/sys/windows/tcp.rs
unsafe impl Send for Event {}
unsafe impl Sync for Event {}
unsafe impl Send for TcpListener {}
unsafe impl Sync for TcpListener {}
unsafe impl Send for TcpAcceptor {}
unsafe impl Sync for TcpAcceptor {}
unsafe impl Send for AcceptorInner {}
unsafe impl Sync for AcceptorInner {}
…per.

This change permits native momentum scrolling in Safari on iOS in the book.
closes rust-lang#21470 on main rust repository
was fixed on rust-lang/rustc-serialize (see rust-lang-deprecated/rustc-serialize#32)
It has actually been safe to put an `UnsafeCell` into a non-mutable `static`
since the `const` change.
Before ca07e256f62f772d14c42f41af46f2aeacc54983, LLVM's AArch64FastISel
had a sign (and zero?) extension bug. Until rustc gets its LLVM past
that commit, the way of workaround is to pass an option to LLVM that
forces the disabling of FastISel (which would normally kick in for -O0).

Fixes rust-lang#21627
This matches contemporary Rust style.
New email address, stylization of name.
`_wrmdir` is literally just a wrapper around `RemoveDirectoryW`, so let's just use `RemoveDirectoryW`.
r? @alexcrichton
@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 092330c p=1

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

⌛ Testing commit 092330c with merge 537ab8a...

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

💔 Test failed - auto-win-32-opt

@eddyb
Copy link
Member

eddyb commented Jan 29, 2015

@bors retry

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

⌛ Testing commit 092330c with merge 0bc6932...

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

💔 Test failed - auto-mac-32-opt

@eddyb
Copy link
Member

eddyb commented Jan 29, 2015

@bors retry

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

⌛ Testing commit 092330c with merge 3d6f510...

bors added a commit that referenced this pull request Jan 29, 2015
Should clear our backlog of rollups from the queue
@bors
Copy link
Collaborator

bors commented Jan 29, 2015

@bors bors merged commit 092330c into rust-lang:master Jan 29, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.