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 5 pull requests #44707

Merged
merged 12 commits into from
Sep 20, 2017
Merged

Rollup of 5 pull requests #44707

merged 12 commits into from
Sep 20, 2017

Conversation

jackpot51 and others added 12 commits September 11, 2017 18:46
LLVM 5.0.0's lld-link frontend errors out if passed /natvis.
LLVM 6 (maybe earlier?) should at least ignore the flag.
Hopefully LLVM will eventually support the flag, at which point
this workaround can perhaps be simply removed, if 6? is old enough.
In <rust-lang#42998>, we added an
uninstantiable type for the internal `UNICODE_VERSION` value,
`UnicodeVersion`, but it was not made public to the outside of the
crate, resulting in the value becoming less useful. Here we make the
type accessible from the outside.

Also add a run-pass test to make sure the type and value can be accessed
as intended.
Change from native-static-deps to native-static-libs.
[Redox] Sync with upstream syscall library

This syncs the vendored syscalls with their upstream versions.
…ssion-fix, r=michaelwoerister

Skip passing /natvis to lld-link until supported.

### Overview

Teaching rustc about MSVC's undocumented linker flag, /NATVIS, broke rustc's compatability with LLVM's `lld-link` frontend, as it does not recognize the flag.  This pull request works around the problem by excluding `lld-link` by name.  @retep998 discovered this regression.

### Possible Issues

- Other linkers that try to be compatible with the MSVC linker flavor may also be broken and in need of workarounds.
- Warning about the workaround may be overkill for a minor reduction in debug functionality.
- Depending on how long this workaround sticks around, it may eventually be preferred to version check `lld-link` instead of assuming all versions are incompatible.

### Relevant issues
* Broke in rust-lang#43221 Embed MSVC .natvis files into .pdbs and mangle debuginfo for &str, *T, and [T].
* LLVM patched in llvm-mirror/lld@27b9c42 to ignore the flag instead of erroring.

r? @michaelwoerister
[libstd_unicode] Expose UnicodeVersion type

In <rust-lang#42998>, we added an
uninstantiable type for the internal `UNICODE_VERSION` value,
`UnicodeVersion`, but it was not made public to the outside of the
crate, resulting in the value becoming less useful. Here we make the
type accessible from the outside.

Also add a run-pass test to make sure the type and value can be accessed
as intended.
…lexcrichton

Fix a typo in rustc help menu

Change from native-static-deps to native-static-libs.

Fix a typo introduced by this merged pull request: rust-lang#43067
…QuietMisdreavus

Add some missing links in io docs

r? @rust-lang/docs
@GuillaumeGomez
Copy link
Member Author

@bors: p=1

@rust-highfive
Copy link
Collaborator

r? @dtolnay

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

@arielb1 arielb1 added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 19, 2017
@arielb1
Copy link
Contributor

arielb1 commented Sep 19, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Sep 19, 2017

📌 Commit bfed2dc has been approved by arielb1

@bors
Copy link
Contributor

bors commented Sep 20, 2017

⌛ Testing commit bfed2dc with merge 1c9cecaf6fa346c8c7e2012d87e22ed7a6282c4d...

@bors
Copy link
Contributor

bors commented Sep 20, 2017

💔 Test failed - status-travis

@kennytm
Copy link
Member

kennytm commented Sep 20, 2017

@bors retry

dist-aarch64-linux timed out

[00:05:19]    Compiling rand v0.0.0 (file:///checkout/src/librand)
[00:05:19]    Compiling std_unicode v0.0.0 (file:///checkout/src/libstd_unicode)

No output has been received in the last 30m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

@bors
Copy link
Contributor

bors commented Sep 20, 2017

⌛ Testing commit bfed2dc with merge 183329c...

bors added a commit that referenced this pull request Sep 20, 2017
Rollup of 5 pull requests

- Successful merges: #44513, #44626, #44689, #44693, #44703
- Failed merges:
@bors
Copy link
Contributor

bors commented Sep 20, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: arielb1
Pushing 183329c to master...

@bors bors merged commit bfed2dc into rust-lang:master Sep 20, 2017
@GuillaumeGomez GuillaumeGomez deleted the rollup branch September 20, 2017 14:12
@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 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.