about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-07-17Auto merge of #74439 - RalfJung:miri, r=RalfJungbors-8/+35
update Miri Fixes https://github.com/rust-lang/rust/issues/74345
2020-07-17Fix typoTakayuki Nakata-1/+1
2020-07-17ci: Replace exec-with-shell wrapper with "plain bash"Kristofer Rye-44/+5
Also, promote defaults.run.shell from inside only the primary jobs to the top level. The src/ci/exec-with-shell.py wrapper script was formerly used to change out the shell mid-job by intercepting a CI_OVERRIDE_SHELL environment variable. Now, instead, we just set `bash` as the global default across all jobs, and we also delete the exec-with-shell.py script. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2020-07-17Make Arguments::as_str() work for empty format strings.Mara Bos-1/+6
2020-07-17Add #[inline] to Arguments::as_str().Mara Bos-0/+1
2020-07-17Add Arguments::as_str().Mara Bos-0/+35
2020-07-17ci: Stop setting CI_OVERRIDE_SHELL environment variableKristofer Rye-3/+0
This will render the src/ci/exec-with-shell.py script more or less useless, but we're going to replace that by just using the system bash instead. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2020-07-17Deny intra_doc_link_resolution_failure in libcoreLzu Tao-0/+1
2020-07-17bootstrap.py: patch RPATH on NixOS to handle the new zlib dependency.Eduard-Mihai Burtescu-13/+30
2020-07-17Fix Arc::as_ptr docsAbendstolz-1/+1
As a none-native speaker I stumbled upon this, looked it up and couldn't find a phrase, so I made my own assumption that "in any way" was meant (which is the meaning I would've deduced anyway)
2020-07-17update MiriRalf Jung-8/+35
2020-07-17Remove code span for implLzu Tao-3/+3
Because the old one is harder to read and confuse typing checkers.
2020-07-17Link Some(item)Lzu Tao-2/+3
2020-07-17Remove unneeded link for OptionLzu Tao-1/+0
2020-07-17Intra-doc for iter Sum and Product traitsLzu Tao-6/+6
2020-07-17Intra-doc for DoubleEndIteratorLzu Tao-4/+2
2020-07-17Intra doc for iter marker traitsLzu Tao-6/+4
2020-07-17Use intra-doc link on Iterator pageLzu Tao-56/+21
2020-07-17bootstrap.py: guard against GC in NixOS patching support.Eduard-Mihai Burtescu-31/+42
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-424/+471
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-1313/+1439
2020-07-17Fix tidy issuesGuillaume Gomez-23/+35
2020-07-17Add tidy checks for rustdoc css filesGuillaume Gomez-4/+35
2020-07-17Convert whitespaces to tabsGuillaume Gomez-44/+54
2020-07-17Improve logo image display in different themesGuillaume Gomez-0/+12
2020-07-17include changes to Cargo.lockAshley Mannix-1/+1
2020-07-17Auto merge of #73365 - Manishearth:rustdoc-vis, r=GuillaumeGomezbors-17/+42
Record visibility of reexports for all items, not just type items This fixes https://github.com/rust-lang/rust/issues/73363 Unfortunately I can't add a test for this since this bug is obscured by the cross-crate bug, being fixed in https://github.com/rust-lang/rust/issues/73363 . Tests will be added later. cc @jyn514 r? @GuillaumeGomez
2020-07-17Auto merge of #5811 - JarredAllen:panic_multiple_args, r=phanschbors-10/+69
Panic multiple args changelog: Fixes bug with `panic` lint reported in #5767. I also did the same changes to the lints for `todo`, `unimplemented` and `unreachable`, so those lints should now also detect calls to those macros with a message.
2020-07-16Update src/test/rustdoc/intra-doc-crate/auxiliary/hidden.rsManish Goregaokar-2/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-07-16Add test for doc(hidden) intra-doc cross-crate reexportsManish Goregaokar-0/+29
2020-07-16Record visibility of reexports for all items, not just type itemsManish Goregaokar-17/+13
2020-07-17docs: better demonstrate that None values are skipped as many times as neededTshepang Lekhonkhobe-4/+2
2020-07-17Auto merge of #74395 - Mark-Simulacrum:stage0-next, r=pietroalbinibors-80/+20
Bump version to 1.47 This also bumps to a more recent rustfmt version, just to keep us relatively up to date (though almost nothing has changed in rustfmt we use beyond bumps to the parser infra). No formatting changes as a result of this. r? @pietroalbini
2020-07-17Auto merge of #5810 - matthiaskrgr:typos_2, r=Manishearthbors-15/+15
fix typos (found by codespell) changelog: none
2020-07-16Resolve https://github.com/rust-lang/rust/pull/74419#discussion_r456139741Lokathor-2/+0
2020-07-16resolve https://github.com/rust-lang/rust/pull/74419#discussion_r456140272Lokathor-3/+0
2020-07-16Resolve https://github.com/rust-lang/rust/pull/74419#discussion_r456142514Lokathor-3/+0
2020-07-16Resolve https://github.com/rust-lang/rust/pull/74419#discussion_r456141344Lokathor-3/+0
2020-07-17Auto merge of #74422 - Manishearth:rollup-7mfrf6g, r=Manishearthbors-802/+1312
Rollup of 8 pull requests Successful merges: - #73101 (Resolve items for cross-crate imports relative to the original module) - #73269 (Enable some timeouts in SGX platform) - #74033 (Add build support for Cargo's build-std feature.) - #74351 (Do not render unstable items for rustc doc) - #74357 (Some `Symbol` related improvements) - #74371 (Improve ayu rustdoc theme) - #74386 (Add RISC-V GNU/Linux to src/tools/build-manifest as a host platform) - #74398 (Clean up E0723 explanation) Failed merges: r? @ghost
2020-07-16Rollup merge of #74398 - GuillaumeGomez:cleanup-e0723, r=Dylan-DPCManish Goregaokar-1/+1
Clean up E0723 explanation r? @Dylan-DPC
2020-07-16Rollup merge of #74386 - msizanoen1:riscv-add-manifest-host, r=pietroalbiniManish Goregaokar-0/+1
Add RISC-V GNU/Linux to src/tools/build-manifest as a host platform Missed during https://github.com/rust-lang/rust/pull/72973
2020-07-16Rollup merge of #74371 - Aloso:patch-1, r=GuilliameGomezManish Goregaokar-9/+6
Improve ayu rustdoc theme This PR changes the following: * It makes some lines darker * It gives the crate selector and search bar a border * The search bar's border turns blue when focused * ~~Gives the logo a bright shadow.~~ For standard library crates, it would be better to invert the logo, but that would be bad for crates with a colored logo, e.g. [async-std](https://docs.rs/async-std/1.6.2/async_std/). Before: ![old](https://user-images.githubusercontent.com/15658558/87576611-ed4e0800-c6d1-11ea-9667-3924702f79e2.png) After (note that this PR no longer includes the white shadow of the logo): ![new](https://user-images.githubusercontent.com/15658558/87576621-ef17cb80-c6d1-11ea-8e15-5d7f8b180c07.png)
2020-07-16Rollup merge of #74357 - nnethercote:symbol-related-improvements, r=oli-obkManish Goregaokar-303/+396
Some `Symbol` related improvements These commits make things nicer and avoid some `Symbol::as_str()` calls. r? @oli-obk
2020-07-16Rollup merge of #74351 - lzutao:remove-rustc-internal-compiler-warns, ↵Manish Goregaokar-48/+23
r=Mark-Simulacrum Do not render unstable items for rustc doc See the zulip conversion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rustc.20doc.3A.20.22internal.20compiler.20API.22.20warns.20are.20everywhere!/near/203850782 Before: ![image](https://user-images.githubusercontent.com/15225902/87501971-9cff8780-c68a-11ea-93b4-ea53ce18a77b.png) After: ![image](https://user-images.githubusercontent.com/15225902/87501985-a7218600-c68a-11ea-81c0-a6b5b120832c.png) Nothing changes in unstable items of std: Before: ![image](https://user-images.githubusercontent.com/15225902/87502004-b7d1fc00-c68a-11ea-9224-a27a1d2a81d6.png) After: ![image](https://user-images.githubusercontent.com/15225902/87502018-c0c2cd80-c68a-11ea-9773-4c63158025cb.png) Closes #54682
2020-07-16Rollup merge of #74033 - ehuss:std-compile-all-platforms, r=Mark-SimulacrumManish Goregaokar-345/+437
Add build support for Cargo's build-std feature. This makes some changes to the standard library to make it easier to use with Cargo's build-std feature. The primary goal is to make it so that Cargo and its users do not need to know which crates to build and which features to use for every platform. Conditional cfgs are adjusted so that there is usually a fall-through for unsupported platforms. Additionally, there is a "restricted-std" feature to mark `std` as unstable when used with build-std on no_std platforms. There is no intent to stabilize this feature for the foreseeable future. This borrows some of the implementation for wasm which already does what this needs. More code sharing can be done with some other platforms (there is a lot of duplication with cloudabi, hermit, and sgx), but I figure that can be done in a future PR. There are some small changes to stable behavior in this PR: - `std::env::consts::ARCH` on asmjs now reports "wasm32", to match its actual architecture. - Some of the wasm error messages for unsupported features report a slightly different error message so that the code can be reused. There should otherwise not be any changes to how std is built for distribution via bootstrap. This does not yet support all platforms when used with build-std. - It doesn't work with 16-bit targets (hashbrown does not support that). - It does not work with JSON spec targets. - In particular, all target triple snooping will need to be replaced with appropriate target option checking. - Switching to gimli (#73441) will make cross-building *much* easier. - There are still a ton of issues on the Cargo side to resolve. A big one is panic strategy support. Future PRs are intended to address some of these issues.
2020-07-16Rollup merge of #73269 - mzohreva:mz/sgx-wait-timeout, r=jethrogbManish Goregaokar-48/+215
Enable some timeouts in SGX platform This would partially resolve https://github.com/fortanix/rust-sgx/issues/31 cc @jethrogb and @Goirad
2020-07-16Rollup merge of #73101 - jyn514:rustdoc-absolute-module, r=ManishearthManish Goregaokar-48/+233
Resolve items for cross-crate imports relative to the original module ~~Blocked on https://github.com/rust-lang/rust/pull/73103 and https://github.com/rust-lang/rust/pull/73566~~ Closes https://github.com/rust-lang/rust/issues/65983. I tested on the following code (as mentioned in https://github.com/rust-lang/rust/issues/65983#issuecomment-640250993): ``` pub use rand::Rng; ``` and rustdoc generated the following link: https://rust-random.github.io/rand/rand_core/trait.RngCore.html
2020-07-17Test codegen of compare_exchange operationsTomasz Miąsko-0/+60
2020-07-17fix typos (found by codespell)Matthias Krüger-15/+15
2020-07-16Clean up dogfood falloutJarredAllen-1/+1