-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 17 pull requests #74455
Rollup of 17 pull requests #74455
Commits on Jun 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e6599ad - Browse repository at this point
Copy the full SHA e6599adView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb39ab - Browse repository at this point
Copy the full SHA bdb39abView commit details
Commits on Jun 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2c9c80e - Browse repository at this point
Copy the full SHA 2c9c80eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c511055 - Browse repository at this point
Copy the full SHA c511055View commit details
Commits on Jul 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f0abc3 - Browse repository at this point
Copy the full SHA 3f0abc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5136013 - Browse repository at this point
Copy the full SHA 5136013View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d9944 - Browse repository at this point
Copy the full SHA e7d9944View commit details
Commits on Jul 13, 2020
-
Fix src/test/run-make/static-pie/test-aslr.rs
Might be subject to the birthday paradox occasionally, causing spurious failures. Addresses: rust-lang#70740 (review)
Configuration menu - View commit details
-
Copy full SHA for 6b9b2d9 - Browse repository at this point
Copy the full SHA 6b9b2d9View commit details
Commits on Jul 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5269459 - Browse repository at this point
Copy the full SHA 5269459View commit details
Commits on Jul 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aabca44 - Browse repository at this point
Copy the full SHA aabca44View commit details -
Configuration menu - View commit details
-
Copy full SHA for d70e6e1 - Browse repository at this point
Copy the full SHA d70e6e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dc8544 - Browse repository at this point
Copy the full SHA 3dc8544View commit details -
Remove leftover from emscripten fastcomp support
This is no longer used since rust-lang#63649
Configuration menu - View commit details
-
Copy full SHA for 4497b9a - Browse repository at this point
Copy the full SHA 4497b9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f6c079 - Browse repository at this point
Copy the full SHA 5f6c079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 209991f - Browse repository at this point
Copy the full SHA 209991fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ff13d9 - Browse repository at this point
Copy the full SHA 2ff13d9View commit details
Commits on Jul 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 08b4b54 - Browse repository at this point
Copy the full SHA 08b4b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6969b30 - Browse repository at this point
Copy the full SHA 6969b30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3429ded - Browse repository at this point
Copy the full SHA 3429dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ffd5c - Browse repository at this point
Copy the full SHA 83ffd5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91738d8 - Browse repository at this point
Copy the full SHA 91738d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a1d6f - Browse repository at this point
Copy the full SHA 53a1d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f43dd - Browse repository at this point
Copy the full SHA 69f43ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7f067a - Browse repository at this point
Copy the full SHA a7f067aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb3c0c - Browse repository at this point
Copy the full SHA 3fb3c0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a90ba7 - Browse repository at this point
Copy the full SHA 1a90ba7View commit details -
Because the old one is harder to read and confuse typing checkers.
Configuration menu - View commit details
-
Copy full SHA for 67c1e89 - Browse repository at this point
Copy the full SHA 67c1e89View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 8aeecc6 - Browse repository at this point
Copy the full SHA 8aeecc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffdd7c - Browse repository at this point
Copy the full SHA 5ffdd7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e73a23f - Browse repository at this point
Copy the full SHA e73a23fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4e33e - Browse repository at this point
Copy the full SHA bc4e33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e17c17a - Browse repository at this point
Copy the full SHA e17c17aView commit details -
Teach bootstrap about target files vs target triples
`rustc` allows passing in predefined target triples as well as JSON target specification files. This change allows bootstrap to have the first inkling about those differences. This allows building a cross-compiler for an out-of-tree architecture (even though that compiler won't work for other reasons). Even if no one ever uses this functionality, I think the newtype around the `Interned<String>` improves the readability of the code.
Configuration menu - View commit details
-
Copy full SHA for e2b337d - Browse repository at this point
Copy the full SHA e2b337dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c51f53 - Browse repository at this point
Copy the full SHA 0c51f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c3353b - Browse repository at this point
Copy the full SHA 9c3353bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48fe5fc - Browse repository at this point
Copy the full SHA 48fe5fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9b51d - Browse repository at this point
Copy the full SHA 2a9b51dView commit details -
When ran on Windows `cp` will follow symlink: `checkout/build/<target>/<stage>/lib/rustlib/src/rust`. It points to `checkout` which means the test will get stuck in copying loop until there is no space left.
Configuration menu - View commit details
-
Copy full SHA for 933a06d - Browse repository at this point
Copy the full SHA 933a06dView commit details -
improper_ctypes_definitions: allow
Box
This commit stops linting against `Box` in `extern "C" fn`s for the `improper_ctypes_definitions` lint - boxes are documented to be FFI-safe. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95df802 - Browse repository at this point
Copy the full SHA 95df802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4127ed1 - Browse repository at this point
Copy the full SHA 4127ed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for af1d01e - Browse repository at this point
Copy the full SHA af1d01eView commit details -
Rollup merge of rust-lang#71670 - GuillaumeGomez:enforce-codeblocks-a…
…ttribute-check, r=Mark-Simulacrum Enforce even more the code blocks attributes check through rustdoc `rustdoc` now has a lint which allows it to warn if a code block attribute is malformated (which can end up in bad situations, even more in case of testing examples!). Now it'll fail if such a situation is encountered when testing markdown code blocks examples. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 7c29736 - Browse repository at this point
Copy the full SHA 7c29736View commit details -
Rollup merge of rust-lang#73783 - estebank:impl-dyn-trait-static-life…
…time, r=nikomatsakis Detect when `'static` obligation might come from an `impl` Partly address rust-lang#71341.
Configuration menu - View commit details
-
Copy full SHA for f6d829a - Browse repository at this point
Copy the full SHA f6d829aView commit details -
Rollup merge of rust-lang#73930 - a1phyr:feature_const_option, r=dtolnay
Make some Option methods const Tracking issue: rust-lang#67441 Constantify the following methods of `Option`: - `as_ref` - `is_some` - `is_none` - `iter` (not sure about this one, but it is possible, and will be useful when const traits are a thing) cc @rust-lang/wg-const-eval @rust-lang/libs
Configuration menu - View commit details
-
Copy full SHA for 7a8cea7 - Browse repository at this point
Copy the full SHA 7a8cea7View commit details -
Rollup merge of rust-lang#74009 - mati865:mingw-tests-implib, r=nikom…
…atsakis Fix MinGW `run-make-fulldeps` tests `compiler-rt-works-on-mingw` and `libs-search-path` were not ran because `only-mingw` doesn't match any target. Enabled and verified few ignored tests with `windows-gnu` toolchain. They are still ignored on MSVC since I'm not experienced with this target.
Configuration menu - View commit details
-
Copy full SHA for db3e572 - Browse repository at this point
Copy the full SHA db3e572View commit details -
Rollup merge of rust-lang#74056 - fusion-engineering-forks:fmt-argume…
…nts-as-str, r=Amanieu Add Arguments::as_str(). There exist quite a few macros in the Rust ecosystem which use `format_args!()` for formatting, but special case the one-argument case for optimization: ```rust #[macro_export] macro_rules! some_macro { ($s:expr) => { /* print &str directly, no formatting, no buffers */ }; ($s:expr, $($tt:tt)*) => { /* use format_args to write to a buffer first */ } } ``` E.g. [here](https://github.com/rust-embedded/cortex-m-semihosting/blob/7a961f0fbe6eb1b29a7ebde4bad4b9cf5f842b31/src/macros.rs#L48-L58), [here](https://github.com/rust-lang-nursery/failure/blob/20f9a9e223b7cd71aed541d050cc73a747fc00c4/src/macros.rs#L9-L17), and [here](https://github.com/fusion-engineering/px4-rust/blob/7b679cd6da9ffd95f36f6526d88345f8b36121da/px4/src/logging.rs#L45-L52). The problem with these is that a forgotten argument such as in `some_macro!("{}")` will not be diagnosed, but just prints `"{}"`. With this PR, it is possible to handle the no-arguments case separately *after* `format_args!()`, while simplifying the macro. Then these macros can give the proper error about a missing argument, just like `print!("{}")` does, while still using the same optimized implementation as before. This is even more important with [RFC 2795](rust-lang/rfcs#2795), to make sure `some_macro!("{some_variable}")` works as expected.
Configuration menu - View commit details
-
Copy full SHA for 41c73e4 - Browse repository at this point
Copy the full SHA 41c73e4View commit details -
Rollup merge of rust-lang#74251 - shepmaster:bootstrap-target-files, …
…r=Mark-Simulacrum Teach bootstrap about target files vs target triples `rustc` allows passing in predefined target triples as well as JSON target specification files. This change allows bootstrap to have the first inkling about those differences. This allows building a cross-compiler for an out-of-tree architecture (even though that compiler won't work for other reasons). Even if no one ever uses this functionality, I think the newtype around the `Interned<String>` improves the readability of the code.
Configuration menu - View commit details
-
Copy full SHA for 0f655ee - Browse repository at this point
Copy the full SHA 0f655eeView commit details -
Rollup merge of rust-lang#74288 - haraldh:test_aslr, r=petrochenkov
Fix src/test/run-make/static-pie/test-aslr.rs Might be subject to the birthday paradox occasionally, causing spurious failures. Addresses: rust-lang#70740 (review)
Configuration menu - View commit details
-
Copy full SHA for d94f164 - Browse repository at this point
Copy the full SHA d94f164View commit details -
Rollup merge of rust-lang#74300 - lzutao:iterator-intra, r=jyn514
Use intra-doc links in core::iter module This will make core::iter doc depend less on std doc.
Configuration menu - View commit details
-
Copy full SHA for 966d33c - Browse repository at this point
Copy the full SHA 966d33cView commit details -
Rollup merge of rust-lang#74364 - lcnr:lazy-norm-tests, r=nikomatsakis
add lazy normalization regression tests We previously didn't have simple tests which fail if we aren't careful around lazy normalization. We now do.
Configuration menu - View commit details
-
Copy full SHA for 2451e80 - Browse repository at this point
Copy the full SHA 2451e80View commit details -
Rollup merge of rust-lang#74368 - GuillaumeGomez:css-tidy-check, r=Ma…
…rk-Simulacrum Add CSS tidy check r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 186c984 - Browse repository at this point
Copy the full SHA 186c984View commit details -
Rollup merge of rust-lang#74394 - bjorn3:remove_emscripten_leftover, …
…r=spastorino Remove leftover from emscripten fastcomp support This is no longer used since rust-lang#63649
Configuration menu - View commit details
-
Copy full SHA for 9c46e1b - Browse repository at this point
Copy the full SHA 9c46e1bView commit details -
Rollup merge of rust-lang#74411 - jonas-schievink:unbreak-mir, r=matt…
…hewjasper Don't assign `()` to `!` MIR locals Implements the fix described in rust-lang#73860 (comment). Fixes rust-lang#73860 r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for cab04ec - Browse repository at this point
Copy the full SHA cab04ecView commit details -
Rollup merge of rust-lang#74416 - NieDzejkob:linker-locale-utf8, r=ol…
…i-obk Use an UTF-8 locale for the linker. Using a `C` locale breaks unicode filenames on Guix, where the linker is wrapped by a Guile program.
Configuration menu - View commit details
-
Copy full SHA for 1117375 - Browse repository at this point
Copy the full SHA 1117375View commit details -
Rollup merge of rust-lang#74428 - tshepang:better-filter-map-doc, r=j…
…onas-schievink docs: better demonstrate that None values are skipped as many times a… …s needed
Configuration menu - View commit details
-
Copy full SHA for cfb6619 - Browse repository at this point
Copy the full SHA cfb6619View commit details -
Rollup merge of rust-lang#74440 - Abendstolz:patch-1, r=hanna-kruppe
Fix Arc::as_ptr docs As a non-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)
Configuration menu - View commit details
-
Copy full SHA for 0ec0c48 - Browse repository at this point
Copy the full SHA 0ec0c48View commit details -
Rollup merge of rust-lang#74448 - davidtwco:improper-ctypes-definitio…
…ns-boxes, r=davidtwco improper_ctypes_definitions: allow `Box` Addresses rust-lang#72700 (comment). This PR stops linting against `Box` in `extern "C" fn`s for the `improper_ctypes_definitions` lint - boxes are documented to be FFI-safe. cc @alexcrichton @CryZe
Configuration menu - View commit details
-
Copy full SHA for 0abe892 - Browse repository at this point
Copy the full SHA 0abe892View commit details -
Rollup merge of rust-lang#74450 - aticu:master, r=jonas-schievink
Fix `Safety` docs for `from_raw_parts_mut` This aligns the wording more with the documentation of e.g. `drop_in_place`, `replace`, `swap` and `swap_nonoverlapping` from `core::ptr`. Also if the pointer were really only valid for writes, it would be trivial to introduce UB from safe code, after calling `core::slice::from_raw_parts_mut`.
Configuration menu - View commit details
-
Copy full SHA for f94926a - Browse repository at this point
Copy the full SHA f94926aView commit details