-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 12 pull requests #85711
Rollup of 12 pull requests #85711
Commits on May 15, 2021
-
rustdoc: avoid legacy Korean fonts in Windows
Shinwoo Park committedMay 15, 2021 Configuration menu - View commit details
-
Copy full SHA for c150772 - Browse repository at this point
Copy the full SHA c150772View commit details -
rustdoc: add the license of Noto Sans KR
Shinwoo Park committedMay 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 7e2e331 - Browse repository at this point
Copy the full SHA 7e2e331View commit details -
Shinwoo Park committed
May 15, 2021 Configuration menu - View commit details
-
Copy full SHA for b5e09dc - Browse repository at this point
Copy the full SHA b5e09dcView commit details -
Shinwoo Park committed
May 15, 2021 Configuration menu - View commit details
-
Copy full SHA for fe44fde - Browse repository at this point
Copy the full SHA fe44fdeView commit details -
chore: update comment in rustdoc.css
Shinwoo Park committedMay 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 6b601d4 - Browse repository at this point
Copy the full SHA 6b601d4View commit details
Commits on May 18, 2021
-
test: update unversioned-files.txt
Shinwoo Park committedMay 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 8412d30 - Browse repository at this point
Copy the full SHA 8412d30View commit details
Commits on May 19, 2021
-
test: fix the order in unversioned-files.txt
Shinwoo Park committedMay 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 8a2d663 - Browse repository at this point
Copy the full SHA 8a2d663View commit details
Commits on May 20, 2021
-
doc: clarify Mutex::try_lock, etc. errors
Clarify error returns from Mutex::try_lock, RwLock::try_read, RwLock::try_write to make it more obvious that both poisoning and the lock being already locked are possible errors.
Configuration menu - View commit details
-
Copy full SHA for e587366 - Browse repository at this point
Copy the full SHA e587366View commit details
Commits on May 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 903e369 - Browse repository at this point
Copy the full SHA 903e369View commit details
Commits on May 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d7341f3 - Browse repository at this point
Copy the full SHA d7341f3View commit details
Commits on May 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for db8c6e0 - Browse repository at this point
Copy the full SHA db8c6e0View commit details -
Use "the `WouldBlock` error" instead of "the error `WouldBlock`", etc.
Configuration menu - View commit details
-
Copy full SHA for 0e4f8cb - Browse repository at this point
Copy the full SHA 0e4f8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b63f7f9 - Browse repository at this point
Copy the full SHA b63f7f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad30826 - Browse repository at this point
Copy the full SHA ad30826View commit details
Commits on May 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 37588e9 - Browse repository at this point
Copy the full SHA 37588e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79a5b12 - Browse repository at this point
Copy the full SHA 79a5b12View commit details -
Move stability attribute for methods under the
ip
feature from the ……module to the methods themselves
Configuration menu - View commit details
-
Copy full SHA for 87cf2d4 - Browse repository at this point
Copy the full SHA 87cf2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 072b85c - Browse repository at this point
Copy the full SHA 072b85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a7dc0d - Browse repository at this point
Copy the full SHA 8a7dc0dView commit details
Commits on May 26, 2021
-
Rollup merge of rust-lang#84048 - konan8205:master, r=jsha
Avoid CJK legacy fonts in Windows As metioned in rust-lang#84035, the default serif CJK font in Windows is meh-looking. To avoid this, we should use sans-serif font or provide CJK glyph supported font in `rustdoc.css`.
Configuration menu - View commit details
-
Copy full SHA for 0264f4f - Browse repository at this point
Copy the full SHA 0264f4fView commit details -
Rollup merge of rust-lang#85529 - tlyu:trylock-errors, r=JohnTitor
doc: clarify Mutex::try_lock, etc. errors Clarify error returns from Mutex::try_lock, RwLock::try_read, RwLock::try_write to make it more obvious that both poisoning and the lock being already locked are possible errors.
Configuration menu - View commit details
-
Copy full SHA for ae6a1a7 - Browse repository at this point
Copy the full SHA ae6a1a7View commit details -
Rollup merge of rust-lang#85590 - jam1garner:tool-bootstrap-su-fix, r…
…=Mark-Simulacrum Fix bootstrap using host exe suffix for cargo When attempting to cross compile rustc (for example, from Linux to Windows) and tell it to build cargo/tools, the following error occurs: ``` thread 'main' panicked at 'src.symlink_metadata() failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1196:24 ``` Relevant part of stack trace: <details> ``` 2: bootstrap::Build::copy at ./src/bootstrap/lib.rs:1196:24 3: <bootstrap::tool::ToolBuild as bootstrap::builder::Step>::run at ./src/bootstrap/tool.rs:220:13 ``` </details> If I add `-vvv` (which seemed to be the recommended course for debugging a similar issue according to [zulip logs](https://zulip-archive.rust-lang.org/182449tcompilerhelp/19655failedtobootstrap.html)), it shows: ``` Copy ".../rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-pc-windows-gnu/release/cargo" to ".../rust/build/x86_64-unknown-linux-gnu/stage2-tools-bin/cargo" ``` and when taking a look at the contents of `build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-pc-windows-gnu/release` it contains `cargo.exe`, but no `cargo`. I tried to study the surrounding code to make sure this was the intended behavior and while I can't be 100% certain, it does seem that using the exe suffix for the `compiler.host` target instead of the `target` target won't have the desired behavior when cross-compiling to/from Windows.
Configuration menu - View commit details
-
Copy full SHA for d75521a - Browse repository at this point
Copy the full SHA d75521aView commit details -
Rollup merge of rust-lang#85610 - SkiFire13:fix-copy-within-provenanc…
…e, r=oli-obk Fix pointer provenance in <[T]>::copy_within Previously the `self.as_mut_ptr()` invalidated the pointer created by the first `self.as_ptr()`. This also triggered miri when run with `-Zmiri-track-raw-pointers`
Configuration menu - View commit details
-
Copy full SHA for b7b9ce3 - Browse repository at this point
Copy the full SHA b7b9ce3View commit details -
Rollup merge of rust-lang#85623 - LeSeulArtichaut:stray-stderr, r=Mar…
…k-Simulacrum Remove stray .stderr files The revisions for the test were [changed in rust-lang#85555](https://github.com/rust-lang/rust/pull/85555/files#diff-f353939cf3762b63a04bae4d9c1c919039b64351bc4d8722ad894509f6015b0f) but the files weren't deleted.
Configuration menu - View commit details
-
Copy full SHA for 0bc3066 - Browse repository at this point
Copy the full SHA 0bc3066View commit details -
Rollup merge of rust-lang#85645 - scottmcm:demote-from-into-try, r=yaahc
Demote `ControlFlow::{from|into}_try` to `pub(crate)` They have mediocre names and non-obvious semantics, so personally I don't think they're worth trying to stabilize, and thus might as well just be internal (they're used for convenience in iterator adapters), not something shown in the rustdocs. I don't think anyone actually wanted to use them outside `core` -- they just got made public-but-unstable along with the whole type in rust-lang#76204 that promoted `LoopState` from an internal type to the exposed `ControlFlow` type. cc rust-lang#75744, the tracking issue they mention. cc rust-lang#85608, the PR where I'm proposing stabilizing the type.
Configuration menu - View commit details
-
Copy full SHA for 587de8e - Browse repository at this point
Copy the full SHA 587de8eView commit details -
Rollup merge of rust-lang#85647 - rust-lang:revert-81601-llvm-on-dema…
…nd, r=jyn514 Revert "Move llvm submodule updates to rustbuild" Reverts rust-lang#81601 This updates LLVM a bit too eagerly -- and particularly on Windows, this can be slow. See discussion on [Zulip]. [Zulip]: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/x.2Epy.20always.20updates.20LLVM.20submodule
Configuration menu - View commit details
-
Copy full SHA for 7508203 - Browse repository at this point
Copy the full SHA 7508203View commit details -
Rollup merge of rust-lang#85666 - fee1-dead:document-shared-from-cow,…
… r=dtolnay Document shared_from_cow functions
Configuration menu - View commit details
-
Copy full SHA for e87bc66 - Browse repository at this point
Copy the full SHA e87bc66View commit details -
Rollup merge of rust-lang#85668 - ehuss:fix-rustdoc-tasklist, r=Mark-…
…Simulacrum Fix tasklist example in rustdoc book. There were a few issues with the tasklist example in the rustdoc book: * Misspelled "incomplete" * Checkmarks were backwards * Didn't show the text for each item * Used HTML which renders differently from how markdown renders it (which uses "disabled" marks) * Didn't use blockquotes to offset the example like the other extensions do * Missing a colon Before: <img width="160" alt="image" src="https://user-images.githubusercontent.com/43198/119503519-e7787880-bd1f-11eb-9f13-1c67754ce001.png"> After: <img width="220" alt="image" src="https://user-images.githubusercontent.com/43198/119503449-d6c80280-bd1f-11eb-9ab5-fe4a6df82124.png">
Configuration menu - View commit details
-
Copy full SHA for 1e51afa - Browse repository at this point
Copy the full SHA 1e51afaView commit details -
Rollup merge of rust-lang#85672 - CDirkx:ip, r=Mark-Simulacrum
Move stability attribute for items under the `ip` feature The `#[unstable]` attribute for items under the `ip` feature is currently located on the `std::net::ip` module itself. This is unusual, and less readable. This has sidetracked discussion about these items numerous times (rust-lang#60145 (comment), rust-lang#76098 (comment), rust-lang#76098 (comment), rust-lang#75019 (comment), rust-lang#75019 (comment)) and lead to incorrect assumptions about which items are actually stable (rust-lang#60145 (comment), rust-lang#76098 (comment)). This PR moves the attribute from the module to the items themselves.
Configuration menu - View commit details
-
Copy full SHA for 7caf93f - Browse repository at this point
Copy the full SHA 7caf93fView commit details -
Rollup merge of rust-lang#85699 - ehuss:update-books, r=ehuss
Update books ## reference 4 commits in 5aa457bf1b54bd2cd5d4cf49797f29299bdf89a7..9c68af3ce6ccca2395e1868addef26a0542e9ddd 2021-05-05 08:39:22 -0700 to 2021-05-24 09:53:32 -0700 - missing parameter name in Trait Implementations (rust-lang/reference#1030) - Add more content to impl-trait.md (rust-lang/reference#1017) - Document extended key-value attributes (rust-lang/reference#1029) - Document raw pointer <-> usize casts. (rust-lang/reference#970) ## rust-by-example 1 commits in 5f8c6da200ada77760a2fe1096938ef58151c9a6..805e016c5792ad2adabb66e348233067d5ea9f10 2021-04-29 08:08:01 -0300 to 2021-05-20 17:08:34 -0300 - Update structs.md (rust-lang/rust-by-example#1440) ## rustc-dev-guide 4 commits in 1e6c7fbda4c45e85adf63ff3f82fa9c870b1447f..50de7f0682adc5d95ce858fe6318d19b4b951553 2021-05-10 13:38:24 +0900 to 2021-05-20 15:02:20 +0200 - update rustfmt references to reflect change from submod to subtree (rust-lang/rustc-dev-guide#1129) - Remove `--stage 1` argument from `doc` invocations (rust-lang/rustc-dev-guide#1125) - Update coverage docs (rust-lang/rustc-dev-guide#1122) - Document -Zunpretty=thir-tree (rust-lang/rustc-dev-guide#1128) ## edition-guide 1 commits in 1da3c411f17adb1ba5de1683bb6acee83362b54a..302a115e8f71876dfc884aebb0ca5ccb02b8a962 2021-02-16 16:46:40 -0800 to 2021-05-21 10:46:11 -0400 - Minimize the edition guide (rust-lang/edition-guide#232) ## embedded-book 1 commits in 569c3391f5c0cc43433bc77831d17f8ff4d76602..7349d173fa28a0bb834cf0264a05286620ef0923 2021-04-07 08:32:11 +0000 to 2021-05-25 13:59:05 +0000 - Remove $ from cargo-binutils (rust-embedded/book#292)
Configuration menu - View commit details
-
Copy full SHA for bce257c - Browse repository at this point
Copy the full SHA bce257cView commit details -
Rollup merge of rust-lang#85701 - ehuss:update-cargo, r=ehuss
Update cargo 7 commits in 070e459c2d8b79c5b2ac5218064e7603329c92ae..e931e4796b61de593aa1097649445e535c9c7ee0 2021-05-11 18:12:23 +0000 to 2021-05-24 16:17:27 +0000 - Add `cargo:rustc-link-arg-bin` flag. (rust-lang/cargo#9486) - Add a cargo-doc.browser config option (rust-lang/cargo#9473) - Fix bug when with resolver = "1" non-virtual package was allowing unknown features (rust-lang/cargo#9437) - Add GitHub link to contributor guide. (rust-lang/cargo#9493) - Add temporary fix for rustup on windows in CI. (rust-lang/cargo#9498) - 3 typos and some capitalization (rust-lang/cargo#9495) - fix 6 typos (rust-lang/cargo#9484)
Configuration menu - View commit details
-
Copy full SHA for 7c0677a - Browse repository at this point
Copy the full SHA 7c0677aView commit details