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

Rollup of 19 pull requests #44649

Closed
wants to merge 59 commits into from
Closed

Rollup of 19 pull requests #44649

wants to merge 59 commits into from

Conversation

bjorn3 and others added 30 commits August 25, 2017 20:46
Picks up the removal of the rustbuild feature, which is still used
in our local shim, along with a comment update explaining the usage.
Removing unwanted file merged in  a previous commit
The extra alloca was only necessary because it made LLVM implicitly
handle the necessary deref to get to the actual value. The same happens
for indirect arguments that have the byval attribute. But the Rust ABI
does not use the byval attribute and so we need to manually add the
deref operation to the debuginfo.
Just a routine update
murarth and others added 21 commits September 16, 2017 16:34
* Add `T: ?Sized` bound to {`Arc`,`Rc`}::{`from_raw`,`into_raw`}
net::tcp::tests::connect_timeout_unroutable fails when the network
is unreachable, like on a laptop disconnected from wifi. Check for
this error and allow the test to pass.

Closes rust-lang#44645
…crichton

Implement `Arc`/`Rc` raw pointer conversions for `?Sized`

* Add `T: ?Sized` bound to {`Arc`,`Rc`}::{`from_raw`,`into_raw`}
…ried

Fix "new trace_macros doesn't work if there's an error during expansion"

Fixes rust-lang#43493
…uietMisdreavus

Codeblock color

<img width="1440" alt="screen shot 2017-09-07 at 21 53 58" src="https://user-images.githubusercontent.com/3050060/30183045-4319108e-9419-11e7-98da-da54952cab37.png">

This screenshot has been generated from:

```rust
/// foo
///
/// ```compile_fail
/// foo();
/// ```
///
/// ```ignore
/// goo();
/// ```
///
/// ```
/// let x = 0;
/// ```
pub fn bar() -> usize { 2 }
```

r? @QuietMisdreavus
cc @rust-lang/docs
…nikomatsakis

Update compiler-builtins

~~I can't tell if this was ever used, but it's not used today.~~

See commits.
{compiler-builtins,libc} shim cleanup

~~Depends on rust-lang/libc#764; opening early for feedback.~~ r? @alexcrichton
extend E0623 for earlybound and latebound for structs

This fixes rust-lang#44508

r? @nikomatsakis
…-szero-optimization, r=arielb1

remove overzealous Box<ZeroSizeType> optimization
rustdoc: pretty-print Unevaluated expressions in types.

Fixes rust-lang#44555.

r? @nikomatsakis
… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!
Avoid unnecessary allocas for indirect function arguments

The extra alloca was only necessary because it made LLVM implicitly
handle the necessary deref to get to the actual value. The same happens
for indirect arguments that have the byval attribute. But the Rust ABI
does not use the byval attribute and so we need to manually add the
deref operation to the debuginfo.
…=alexcrichton

stabilized compiler_fences (fixes rust-lang#41091)

I did not know what to proceed with "unstable-book" entry. The feature would no longer be unstable so I have deleted it. If it was the wrong call I'll revert it (unfortunately his case is not described in the CONTRIBUTING.md).
…imulacrum

Update cargo submodule

Just a routine update
…1, r=aidanhs

ci: Upload/download from a new S3 bucket

Moving buckets from us-east-1 to us-west-1 because us-west-1 is where
rust-central-station itself runs and in general is where we have all our other
buckets.
…uietMisdreavus

Fix incorrect `into_inner` link in docs.

Fixes rust-lang#42373.
…crum

compiletest: print the correct basename of the src dir

See <Manishearth/compiletest-rs#76>.

Fixes rust-lang#40712
Ensure tcp test case passes when disconnected from network

net::tcp::tests::connect_timeout_unroutable fails when the network
is unreachable, like on a laptop disconnected from wifi. Check for
this error and allow the test to pass.

Closes rust-lang#44645
@TimNN
Copy link
Contributor Author

TimNN commented Sep 17, 2017

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Sep 17, 2017

📌 Commit 7e08a23 has been approved by TimNN

@bors
Copy link
Contributor

bors commented Sep 17, 2017

⌛ Testing commit 7e08a23 with merge d8e81f8a7154a4106ff559124d1a9ae408b288c3...

@bors
Copy link
Contributor

bors commented Sep 17, 2017

💔 Test failed - status-travis

@TimNN
Copy link
Contributor Author

TimNN commented Sep 17, 2017

Failure:

[00:27:41] rustc: /checkout/src/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp:295: void llvm::DwarfExpression::addFragmentOffset(const llvm::DIExpression*): Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed.
[00:27:41] error: Could not compile `std`.

I'm gonna guess and say this is likely #44573, so let's try again without it.

@TimNN TimNN closed this Sep 17, 2017
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 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.