-
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 11 pull requests #88568
Rollup of 11 pull requests #88568
Commits on Aug 8, 2021
-
Update Windows arg parsing tests
This updates the tests to be consistent with argv in modern C/C++ applications.
Configuration menu - View commit details
-
Copy full SHA for 565a519 - Browse repository at this point
Copy the full SHA 565a519View commit details -
Implement modern Windows arg parsing
As derived from extensive testing of `argv` in a C/C++ application. Co-Authored-By: Jane Lusby <jlusby42@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e26dda5 - Browse repository at this point
Copy the full SHA e26dda5View commit details
Commits on Aug 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4870f06 - Browse repository at this point
Copy the full SHA 4870f06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8553c19 - Browse repository at this point
Copy the full SHA 8553c19View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb91366 - Browse repository at this point
Copy the full SHA eb91366View commit details -
Configuration menu - View commit details
-
Copy full SHA for b99038f - Browse repository at this point
Copy the full SHA b99038fView commit details
Commits on Aug 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 32e639d - Browse repository at this point
Copy the full SHA 32e639dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d988278 - Browse repository at this point
Copy the full SHA d988278View commit details -
Configuration menu - View commit details
-
Copy full SHA for b88ad42 - Browse repository at this point
Copy the full SHA b88ad42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99a3d64 - Browse repository at this point
Copy the full SHA 99a3d64View commit details -
add safety annotation to
LinkedList::detach_all_nodes
Co-authored-by: kennytm <kennytm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ffc43b8 - Browse repository at this point
Copy the full SHA ffc43b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d7d488 - Browse repository at this point
Copy the full SHA 8d7d488View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7189c85 - Browse repository at this point
Copy the full SHA 7189c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d18052 - Browse repository at this point
Copy the full SHA 7d18052View commit details -
Include debug info for the allocator shim
Issue Details: In some cases it is necessary to generate an "allocator shim" to forward various Rust allocation functions (e.g., `__rust_alloc`) to an underlying function (e.g., `malloc`). However, since this allocator shim is a manually created LLVM module it is not processed via the normal module processing code and so no debug info is generated for it (if debugging info is enabled). Fix Details: * Modify the `debuginfo` code to allow creating debug info for a module without a `CodegenCx` (since it is difficult, and expensive, to create one just to emit some debug info). * After creating the allocator shim add in basic debug info.
Configuration menu - View commit details
-
Copy full SHA for 77a96ed - Browse repository at this point
Copy the full SHA 77a96edView commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 59b245e - Browse repository at this point
Copy the full SHA 59b245eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7159bd - Browse repository at this point
Copy the full SHA d7159bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fba4149 - Browse repository at this point
Copy the full SHA fba4149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9e708 - Browse repository at this point
Copy the full SHA 6c9e708View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f489b - Browse repository at this point
Copy the full SHA f5f489bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5fd955 - Browse repository at this point
Copy the full SHA a5fd955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92dae39 - Browse repository at this point
Copy the full SHA 92dae39View commit details -
Rollup merge of rust-lang#87114 - cjgillot:abilint, r=estebank
Lint missing Abi in ast validation instead of lowering.
Configuration menu - View commit details
-
Copy full SHA for 6402071 - Browse repository at this point
Copy the full SHA 6402071View commit details -
Rollup merge of rust-lang#87580 - ChrisDenton:win-arg-parse-2008, r=m…
…-ou-se Update Windows Argument Parsing Fixes rust-lang#44650 The Windows command line is passed to applications [as a single string](https://docs.microsoft.com/en-us/archive/blogs/larryosterman/the-windows-command-line-is-just-a-string) which the application then parses to get a list of arguments. The standard rules (as used by C/C++) for parsing the command line have slightly changed over the years, most recently in 2008 which added new escaping rules. This PR implements the new rules as [described on MSDN](https://docs.microsoft.com/en-us/cpp/cpp/main-function-command-line-args?view=msvc-160#parsing-c-command-line-arguments) and [further detailed here](https://daviddeley.com/autohotkey/parameters/parameters.htm#WIN). It has been tested against the behaviour of C++ by calling a C++ program that outputs its raw command line and the contents of `argv`. See [my repo](https://github.com/ChrisDenton/winarg/tree/std) if anyone wants to reproduce my work. For an overview of how this PR changes argument parsing behavior and why we feel it is warranted see rust-lang#87580 (comment). For some examples see: rust-lang#87580 (comment)
Configuration menu - View commit details
-
Copy full SHA for c08d0c0 - Browse repository at this point
Copy the full SHA c08d0c0View commit details -
Rollup merge of rust-lang#88490 - GuillaumeGomez:associated-types-imp…
…lementors-display, r=camelid,Manishearth Display associated types of implementors Fixes rust-lang#86631. Contrary to before, it doesn't display methods. I also had to "resurrect" the `auto-hide-trait-implementations` setting. :3 Only question at this point: should I move the `render_impl` boolean arguments into one struct? We're starting to have quite a lot of them... cc `@cynecx` r? `@camelid`
Configuration menu - View commit details
-
Copy full SHA for 9d052cb - Browse repository at this point
Copy the full SHA 9d052cbView commit details -
Rollup merge of rust-lang#88505 - ibraheemdev:use-unwrap-unchecked, r…
…=kennytm Use `unwrap_unchecked` where possible
Configuration menu - View commit details
-
Copy full SHA for d9c75b1 - Browse repository at this point
Copy the full SHA d9c75b1View commit details -
Rollup merge of rust-lang#88530 - bjorn3:shrink_session, r=cjgillot
Shrink Session a bit Remove a couple of unnecessary fields from `Session` and remove a `Lock<T>` for a field that is never mutated anyway.
Configuration menu - View commit details
-
Copy full SHA for 4f6211b - Browse repository at this point
Copy the full SHA 4f6211bView commit details -
Rollup merge of rust-lang#88532 - ptrojahn:single_use, r=davidtwco
Remove single use variables
Configuration menu - View commit details
-
Copy full SHA for 348305f - Browse repository at this point
Copy the full SHA 348305fView commit details -
Rollup merge of rust-lang#88543 - m-ou-se:closure-migration-macro-blo…
…ck-fragment, r=estebank Improve closure dummy capture suggestion in macros. Fixes some cases of rust-lang#88440 Fixes https://crater-reports.s3.amazonaws.com/pr-87190-3/try%23a7a572ce3edd6d476191fbfe92c9c1986e009b34/reg/rcodec-1.0.1/log.txt
Configuration menu - View commit details
-
Copy full SHA for bcd740c - Browse repository at this point
Copy the full SHA bcd740cView commit details -
Rollup merge of rust-lang#88547 - notriddle:notriddle/is-expr-delims-…
…necessary, r=davidtwco fix(rustc_lint): better detect when parens are necessary Fixes rust-lang#88519
Configuration menu - View commit details
-
Copy full SHA for 30142cb - Browse repository at this point
Copy the full SHA 30142cbView commit details -
Rollup merge of rust-lang#88550 - dpaoliello:dpaoliello/allocdebuginf…
…o, r=estebank Include debug info for the allocator shim Issue Details: In some cases it is necessary to generate an "allocator shim" to forward various Rust allocation functions (e.g., `__rust_alloc`) to an underlying function (e.g., `malloc`). However, since this allocator shim is a manually created LLVM module it is not processed via the normal module processing code and so no debug info is generated for it (if debugging info is enabled). Fix Details: * Modify the `debuginfo` code to allow creating debug info for a module without a `CodegenCx` (since it is difficult, and expensive, to create one just to emit some debug info). * After creating the allocator shim add in basic debug info.
Configuration menu - View commit details
-
Copy full SHA for 163c0c9 - Browse repository at this point
Copy the full SHA 163c0c9View commit details -
Rollup merge of rust-lang#88560 - klensy:formatter-pad-shrink, r=m-ou-se
`fmt::Formatter::pad`: don't call chars().count() more than one time First commit merges two branches of match to call chars().count() only once: that should be faster if this method hits place of 3rd (previous) branch, plus quarter shorter. Second commit fixes some clippy lints while i'm here (should it be separate PR?).
Configuration menu - View commit details
-
Copy full SHA for 66ef9cc - Browse repository at this point
Copy the full SHA 66ef9ccView commit details -
Rollup merge of rust-lang#88565 - lqd:issue-83190, r=spastorino
Add regression test for issue 83190 Reduced from `bioyino-metric` by `@hellow554` and myself. Closes rust-lang#83190. r? `@spastorino`
Configuration menu - View commit details
-
Copy full SHA for f230145 - Browse repository at this point
Copy the full SHA f230145View commit details