Yuki Okushi
71d8c10886
Rollup merge of #77784 - aDotInTheVoid:ffi-sealed_trait-intra-docs, r=jyn514
...
Fix intra-docs link in core::ffi::VaList
At some point, `VaList` was changes to be a [wrapper](https://github.com/rust-lang/rust/blob/1661f77/library/core/src/ffi.rs#L177-L201 ) over `VaListImpl`, and now the `Arg` method exists on [`VaListImpl`](https://github.com/rust-lang/rust/blob/1661f77/library/core/src/ffi.rs#L333-L336 ). This PR fixes the intradoc links so that when `--document-private-items` is ran on std (via [patch](https://gist.github.com/aDotInTheVoid/42c82306210203f9c9093c952b765ab4 )), it works
2020-10-13 04:07:58 +09:00
Yuki Okushi
dde997710a
Rollup merge of #77746 - winnayx:issue-77572-fix, r=jyn514
...
Fix `x.py setup` sets `changelog-seen`
Fixes #77572 by setting changelog-seen in setup.rs
2020-10-13 04:07:56 +09:00
Yuki Okushi
ad6e179060
Rollup merge of #77724 - sunfishcode:stdinlock-asrawfd, r=alexcrichton
...
Implement `AsRawFd` for `StdinLock` etc. on WASI.
WASI implements `AsRawFd` for `Stdin`, `Stdout`, and `Stderr`, so
implement it for `StdinLock`, `StdoutLock`, and `StderrLock` as well.
r? @alexcrichton
2020-10-13 04:07:54 +09:00
Yuki Okushi
a6cc660774
Rollup merge of #77699 - GuillaumeGomez:word-wrap, r=XAMPPRocky
...
Add word wrap for short descriptions
Fixes #77652
![Screenshot from 2020-10-08 13-26-18](https://user-images.githubusercontent.com/3050060/95452770-11845280-096a-11eb-80da-723da85261fa.png )
cc @WaffleLapkin
r? @jyn514
2020-10-13 04:07:52 +09:00
Yuki Okushi
687d7646de
Rollup merge of #77550 - lcnr:ty-dep-path-ct-cleanup, r=ecstatic-morse
...
add shims for WithOptConstParam query calls
r? @ecstatic-morse @eddyb
2020-10-13 04:07:50 +09:00
Yuki Okushi
cabedfebcb
Remove mark-i-m
from rustc-dev-guide maintainers
2020-10-13 03:13:00 +09:00
Jake Goulding
5ae5b0e790
Enable building Cargo for aarch64-apple-darwin
2020-10-12 13:58:03 -04:00
Jake Goulding
d909d69d3a
Upgrade OpenSSL to 1.1.1h and add support for aarch64-apple-darwin
2020-10-12 13:57:39 -04:00
Pietro Albini
0b7ee9d522
build-manifest: bundle the rustc version in the binary
2020-10-12 19:54:40 +02:00
Pietro Albini
cbded3e193
build-manifest: use var_os instead of var to check if vars exist
...
This will prevent the tool mistakenly ignoring the variables if they
happen to contain non-utf8 data.
2020-10-12 19:53:29 +02:00
Pietro Albini
f3d07b36ed
build-manifest: allow configuring the number of threads
2020-10-12 19:53:28 +02:00
Pietro Albini
24d04ccd39
ci: also build the build-manifest component on dist-x86_64-linux
2020-10-12 19:53:26 +02:00
Pietro Albini
60ae018bf1
bootstrap: add --include-default-paths to ./x.py
2020-10-12 19:53:25 +02:00
Pietro Albini
2f387e9d11
bootstrap: add disabled by default build-manifest dist component
2020-10-12 19:53:24 +02:00
Pietro Albini
25cc75c924
build-manifest: accept the Rust version instead of the monorepo path
...
This commit changes the way build-manifest is invoked, to let it accept
the Rust version directly instead of requiring the path of the Rust
monorepo and letting build-manifest figure out the path on its own.
This allows to run build-manifest without a clone of the monorepo.
2020-10-12 19:53:22 +02:00
Caleb Cartwright
4e82da4a48
rustc_parse: correct span on range expr with attrs
2020-10-12 12:24:24 -05:00
Caleb Cartwright
7280f6aa41
rustc_parse: correct span on cast expr with attrs
2020-10-12 11:58:48 -05:00
bors
f3ab6f0584
Auto merge of #77854 - pietroalbini:ETOOMANYCHANNELS, r=Mark-Simulacrum
...
build-manifest: stop generating numbered channel names except for stable
This fixes numbered channel names being created for the nightly channel, and once the root cause of this rides the trains, for beta.
r? `@Mark-Simulacrum`
2020-10-12 15:50:36 +00:00
Pietro Albini
5973fd42a2
build-manifest: stop generating numbered channel names except for stable
...
This fixes numbered channel names being created for the nightly channel,
and once the root cause of this rides the trains, for beta.
2020-10-12 17:39:13 +02:00
Guillaume Gomez
9f1048d723
Add word-wrap rule for short descriptions
2020-10-12 15:41:37 +02:00
12101111
5d44402345
update url in bootstrap README
2020-10-12 21:17:11 +08:00
Jacob Hughes
4b96049da2
BTreeMap: refactor Entry out of map.rs into its own file
...
btree/map.rs is approaching the 3000 line mark, splitting out the entry
code buys about 500 lines of headroom
2020-10-12 08:44:53 -04:00
Kornel
07637db883
Remove deprecated unstable Vec::resize_default
2020-10-12 13:36:19 +01:00
Guillaume Gomez
685444008b
Extend test to ensure that items inherit lint level from the parent
2020-10-12 14:32:41 +02:00
Ethan Brierley
eec443681e
Make error help clearer
...
Co-authored-by: varkor <github@varkor.com>
2020-10-12 07:18:29 -05:00
bors
d6b5ffb5b4
Auto merge of #77821 - tmiasko:discriminant-value-is-safe, r=jonas-schievink
...
Remove unnecessary unsafe block around calls to discriminant_value
Since 63793 the discriminant_value intrinsic is safe to call. Remove
unnecessary unsafe block around calls to this intrinsic in built-in
derive macros.
2020-10-12 12:12:54 +00:00
Guillaume Gomez
5d20e1aa03
Improve lint level handling
2020-10-12 13:50:31 +02:00
Guillaume Gomez
22465b35a6
Apply same treatment to MISSING_DOC_CODE_EXAMPLES
2020-10-12 13:46:37 +02:00
Guillaume Gomez
b31f5d05b1
Inherit lint level from parents
2020-10-12 13:46:37 +02:00
Roman
02e6b861eb
rustdoc: skip allow missing doc in cover. report
...
During the document coverage reporting with
```bash
rustdoc something.rs -Z unstable-options --show-coverage
```
the coverage report also includes parts of the code that are marked
with `#[allow(missing_docs)]`, which outputs lower numbers in the
coverage report even though these parts should be ignored for the
calculation.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-12 13:46:37 +02:00
Igor Matuszewski
1852392120
Update RLS
2020-10-12 13:10:43 +02:00
bors
d9b931669b
Auto merge of #75914 - arlosi:aarch64-ci, r=pietroalbini
...
Promote aarch64-pc-windows-msvc to Tier 2 Development Platform
Adds a GitHub Actions CI build for `aarch64-pc-windows-msvc` via cross-compilation on an x86_64 host.
This promotes `aarch64-pc-windows-msvc` from a Tier 2 Compilation Target (std) to a Tier 2 Development Platform (std+rustc+cargo+tools).
Fixes #72881
r? `@pietroalbini`
2020-10-12 10:17:48 +00:00
Guillaume Gomez
0faaa499cc
Add test for compiler reexports removal
2020-10-12 11:26:01 +02:00
Guillaume Gomez
e3c3efe5ab
Filter out imports added by the compiler
2020-10-12 11:26:01 +02:00
bjorn3
b620e49cca
Remove dump_incremental_data
2020-10-12 10:34:30 +02:00
bors
a8d6da3f57
Auto merge of #77837 - Aaron1011:bump-miri-backtrace, r=RalfJung
...
Bump miri
Fixes https://github.com/rust-lang/rust/issues/77791
r? `@RalfJung`
2020-10-12 08:25:38 +00:00
bors
62cbe81b8a
Auto merge of #75956 - jonas-schievink:lto-opt-sz, r=tmiasko
...
Fix -Clinker-plugin-lto with opt-levels s and z
Pass s and z as `-plugin-opt=O2` to the linker. This is what `-Os` and `-Oz` correspond to, apparently.
Fixes https://github.com/rust-lang/rust/issues/75940
2020-10-12 06:10:50 +00:00
bors
63962f0203
Auto merge of #77819 - mati865:crossbeam-ub, r=Mark-Simulacrum
...
Update crossbeam-channel to avoid UB
More info: https://github.com/RustSec/advisory-db/pull/425
2020-10-12 04:18:56 +00:00
James Gill
01ac5a97c9
Stabilize slice_select_nth_unstable
...
This stabilizes the functionality in slice_partition_at_index,
but under the names `select_nth_unstable*`. The functions
`partition_at_index*` are left as deprecated, to be removed in
a later release.
Closes #55300
2020-10-12 00:07:41 -04:00
bors
1fe9b7f3fe
Auto merge of #77790 - jyn514:undivided, r=ollie27
...
Show summary lines on cross-crate re-exports
See my write-up in https://github.com/rust-lang/rust/issues/77783#issuecomment-706551743 for what's going on here.
Fixes https://github.com/rust-lang/rust/issues/77783
r? `@ollie27`
2020-10-12 02:20:04 +00:00
Joshua Nelson
41878285e8
Remove unnecessary RefCell
for doc_strings
...
This was there for `Divider` and is no longer necessary.
2020-10-11 20:31:00 -04:00
Nicholas-Baron
84878794ed
Moved the functions starting with check to a separate file
2020-10-11 17:27:29 -07:00
Joshua Nelson
1772f2d2dc
Show summary lines on cross-crate re-exports
...
This removes the unnecessary `DocFragmentKind::Divider` in favor of just
using the logic I actually want in `collapse_docs`.
2020-10-11 20:27:17 -04:00
Jonas Schievink
32cf035046
Use no-prefer-dynamic
2020-10-12 01:51:40 +02:00
Aaron Hill
5e34bddc1b
Bump miri
2020-10-11 19:45:15 -04:00
Jonas Schievink
4f5394199b
Fix -Clinker-plugin-lto with opt-levels s and z
2020-10-12 01:45:00 +02:00
Nicholas-Baron
16d0205d5c
Moved the functions starting with suggest to a separate file
2020-10-11 16:28:06 -07:00
bors
576e2277ac
Auto merge of #75991 - shepmaster:silicon-ci, r=pietroalbini
...
Set up CI for aarch64-apple-darwin
2020-10-11 23:23:48 +00:00
Nicholas-Baron
48291cf1d7
Moved some short functions back into fn_ctxt.rs
2020-10-11 16:10:42 -07:00
Mateusz Mikuła
5aa661757a
Update crossbeam-channel to avoid UB
2020-10-11 23:40:29 +02:00