{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":724712,"defaultBranch":"master","name":"rust","ownerLogin":"rust-lang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-06-16T20:39:03.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5430905?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716682659.0","currentOid":""},"activityList":{"items":[{"before":"eda9d7f987de76b9d61c633a6ac328936e1b94f0","after":"a6416d8907bc94ef1a032d54cb0443cde963e455","ref":"refs/heads/master","pushedAt":"2024-06-02T21:53:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125828 - vincenzopalazzo:macros/performance-regression, r=fmease\n\nAvoid checking the edition as much as possible\n\nInside https://github.com/rust-lang/rust/pull/123865, we are adding support for the new semantics for expr2024, but we have noted a performance issue.\n\nWhile talking with `@eholk,` we realized there is a redundant check for each token regarding an edition. This commit moves the edition check to the end, avoiding some extra checks that can slow down compilation time.\n\nHowever, we should keep this issue under observation because we may want to improve the edition check if we are unable to significantly improve compiler performance.\n\nr? ghost","shortMessageHtmlLink":"Auto merge of #125828 - vincenzopalazzo:macros/performance-regression…"}},{"before":"5e6c2b6092d63705368cfb96c91188f77b722eaf","after":"eda9d7f987de76b9d61c633a6ac328936e1b94f0","ref":"refs/heads/master","pushedAt":"2024-06-02T18:08:23.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125577 - devnexen:netbsd_stack_min, r=joboet\n\nstd::pal::unix::thread fetching min stack size on netbsd.\n\nPTHREAD_STACK_MIN is not defined however sysconf/_SC_THREAD_STACK_MIN returns it as it can vary from arch to another.","shortMessageHtmlLink":"Auto merge of #125577 - devnexen:netbsd_stack_min, r=joboet"}},{"before":"8bec878b73c7a65a4cb6adabcf36bc0510c6cd1e","after":"5e6c2b6092d63705368cfb96c91188f77b722eaf","ref":"refs/heads/master","pushedAt":"2024-06-02T15:35:34.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125892 - workingjubilee:rollup-gytt1q7, r=workingjubilee\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #125311 (Make repr(packed) vectors work with SIMD intrinsics)\n - #125849 (Migrate `run-make/emit-named-files` to `rmake.rs`)\n - #125851 (Add some more specific checks to the MIR validator)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125892 - workingjubilee:rollup-gytt1q7, r=workingjubilee"}},{"before":"13e2d7295ea42f842e57100b6349388bfe609a11","after":"8bec878b73c7a65a4cb6adabcf36bc0510c6cd1e","ref":"refs/heads/master","pushedAt":"2024-06-02T13:22:01.000Z","pushType":"push","commitsCount":24,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125887 - lnicola:sync-from-ra, r=lnicola\n\nSubtree update of `rust-analyzer`\n\nr? `@ghost`","shortMessageHtmlLink":"Auto merge of #125887 - lnicola:sync-from-ra, r=lnicola"}},{"before":"a83cf567b5949691de67f06895d9fe0404c40d27","after":"13e2d7295ea42f842e57100b6349388bfe609a11","ref":"refs/heads/master","pushedAt":"2024-06-02T10:14:26.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125827 - jieyouxu:rmake-separate-tmp-dir, r=onur-ozkan\n\ncompiletest: split rmake.rs executable from scratch directory\n\nWhen implementing support for rmake.rs, I copied over the `$TMPDIR` directory logic from the legacy Makefile setup. In doing so, I also compiled recipe `rmake.rs` into executables which unfortunately are placed into `$TMPDIR` as well.\n\nThis causes a problem on Windows (as observed in PRs like https://github.com/rust-lang/rust/pull/125752#issuecomment-2142577084) where:\n\n- The `rmake.exe` executable is placed in `$TMPDIR`.\n- We run the `rmake.exe` as a process.\n- The process uses `rmake.exe` inside `$TMPDIR`.\n- Windows prevents the .exe file from being deleted when the process is still alive.\n- The recipe test code tries to `remove_dir_all($TMPDIR)`, which fails with access denied because `rmake.exe` is still being used.\n\nWe fix this by separating the recipe executable and the output artifacts directory:\n\n```\nbase_dir/\n rmake.exe\n rmake_out/\n```\n\nWe construct a base directory, unique to each run-make test, under which we place rmake.exe alongside a `rmake_out/` directory. This `rmake_out/` directory is what is passed to rmake.rs tests as `$TMPDIR`, so now `remove_dir_all($TMPDIR)` has a chance to succeed because it no longer contains `rmake.exe`.\n\nThis wasn't a problem for Makefile tests because there's no exe file under `$TMPDIR` whose process is still running when `rm -rf $TMPDIR` is called.\n\ntry-job: x86_64-msvc","shortMessageHtmlLink":"Auto merge of #125827 - jieyouxu:rmake-separate-tmp-dir, r=onur-ozkan"}},{"before":"06d99cd6947db110d5b8cd44b91852372083d087","after":"a83cf567b5949691de67f06895d9fe0404c40d27","ref":"refs/heads/master","pushedAt":"2024-06-02T08:04:45.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125822 - Urgau:print-check-cfg-refactor-test, r=jieyouxu\n\nRefactor `--print=check-cfg` test\n\n*as asked in https://github.com/rust-lang/rust/pull/125818#discussion_r1622463592*\n\nr? `@jieyouxu`","shortMessageHtmlLink":"Auto merge of #125822 - Urgau:print-check-cfg-refactor-test, r=jieyouxu"}},{"before":"12b5d3c29c221a4c61f9e6863f4bc1133f3e3403","after":"06d99cd6947db110d5b8cd44b91852372083d087","ref":"refs/heads/master","pushedAt":"2024-06-02T04:17:39.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125773 - GuillaumeGomez:migrate-run-make-cdylib, r=jieyouxu\n\nMigrate run make cdylib\n\nPart of https://github.com/rust-lang/rust/issues/121876.\n\nr? `@jieyouxu`","shortMessageHtmlLink":"Auto merge of #125773 - GuillaumeGomez:migrate-run-make-cdylib, r=jie…"}},{"before":"f67a1acc04c7ecbf05751b17592dd8d245b75256","after":"12b5d3c29c221a4c61f9e6863f4bc1133f3e3403","ref":"refs/heads/master","pushedAt":"2024-06-02T02:10:31.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124294 - tspiteri:ilog-first-iter, r=the8472\n\nUnroll first iteration of checked_ilog loop\n\nThis follows the optimization of #115913. As shown in https://github.com/rust-lang/rust/pull/115913#issuecomment-2066788006, the performance was improved in all important cases, but some regressions were introduced for the benchmarks `u32_log_random_small`, `u8_log_random` and `u8_log_random_small`.\n\nBasically, #115913 changed the implementation from one division per iteration to one multiplication per iteration plus one division. When there are zero iterations, this is a regression from zero divisions to one division.\n\nThis PR avoids this by avoiding the division if we need zero iterations by returning `Some(0)` early. It also reduces the number of multiplications by one in all other cases.","shortMessageHtmlLink":"Auto merge of #124294 - tspiteri:ilog-first-iter, r=the8472"}},{"before":"0999039edb4e5400ff12cd13f3beac747726c74b","after":"9e18f09adf5c8a83e61df6a88eae671c2d970c85","ref":"refs/heads/cargo_update","pushedAt":"2024-06-02T00:17:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"cargo update\n\n Locking 34 packages to latest compatible versions\n Updating cc v1.0.97 -> v1.0.98\n Updating crc32fast v1.4.0 -> v1.4.2\n Updating crossbeam-channel v0.5.12 -> v0.5.13\n Updating crossbeam-utils v0.8.19 -> v0.8.20\n Updating getrandom v0.2.14 -> v0.2.15\n Updating icu_list v1.4.0 -> v1.5.0\n Updating icu_list_data v1.4.0 -> v1.5.0\n Updating icu_locid v1.4.0 -> v1.5.0\n Updating icu_locid_transform v1.4.0 -> v1.5.0\n Updating icu_locid_transform_data v1.4.0 -> v1.5.0\n Updating icu_provider v1.4.0 -> v1.5.0\n Updating icu_provider_adapters v1.4.0 -> v1.5.0\n Updating icu_provider_macros v1.4.0 -> v1.5.0\n Updating libz-sys v1.1.16 -> v1.1.18\n Updating litemap v0.7.2 -> v0.7.3\n Updating nu-ansi-term v0.49.0 -> v0.50.0\n Updating parking_lot v0.12.2 -> v0.12.3\n Updating proc-macro2 v1.0.82 -> v1.0.84\n Updating r-efi v4.4.0 -> v4.5.0\n Updating serde v1.0.202 -> v1.0.203\n Updating serde_derive v1.0.202 -> v1.0.203\n Updating spanned v0.2.0 -> v0.2.1\n Updating syn v2.0.64 -> v2.0.66\n Updating tinystr v0.7.5 -> v0.7.6\n Updating tokio v1.37.0 -> v1.38.0\n Updating tracing-tree v0.3.0 -> v0.3.1\n Updating winnow v0.6.8 -> v0.6.9\n Updating writeable v0.5.4 -> v0.5.5\n Updating yoke v0.7.3 -> v0.7.4\n Updating yoke-derive v0.7.3 -> v0.7.4\n Updating zerofrom v0.1.3 -> v0.1.4\n Updating zerofrom-derive v0.1.3 -> v0.1.4\n Updating zerovec v0.10.1 -> v0.10.2\n Updating zerovec-derive v0.10.1 -> v0.10.2\nnote: pass `--verbose` to see 85 unchanged dependencies behind latest","shortMessageHtmlLink":"cargo update"}},{"before":"0038c021031ce9f1ec2329469c8d85d0e681ef8f","after":"f67a1acc04c7ecbf05751b17592dd8d245b75256","ref":"refs/heads/master","pushedAt":"2024-06-01T23:24:30.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125863 - fmease:rej-CVarArgs-in-parse_ty_for_where_clause, r=compiler-errors\n\nReject `CVarArgs` in `parse_ty_for_where_clause`\n\nFixes #125847. This regressed in #77035 where the `parse_ty` inside `parse_ty_where_predicate` was replaced with the at the time new `parse_ty_for_where_clause` which incorrectly stated it would permit CVarArgs (maybe a copy/paste error).\n\nr? parser","shortMessageHtmlLink":"Auto merge of #125863 - fmease:rej-CVarArgs-in-parse_ty_for_where_cla…"}},{"before":"a94483a5f2bae907bc898fc7a8d9cc87db47b693","after":"0038c021031ce9f1ec2329469c8d85d0e681ef8f","ref":"refs/heads/master","pushedAt":"2024-06-01T21:12:45.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125775 - compiler-errors:uplift-closure-args, r=lcnr\n\nUplift `{Closure,Coroutine,CoroutineClosure}Args` and friends to `rustc_type_ir`\n\nPart of converting the new solver's `structural_traits.rs` to be interner-agnostic.\n\nI decided against aliasing `ClosureArgs>` to `ClosureArgs<'tcx>` because it seemed so rare. I could do so if desired, though.\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #125775 - compiler-errors:uplift-closure-args, r=lcnr"}},{"before":"f2208b32971faba7fa6bf09bd0821adbf3db0c00","after":"a94483a5f2bae907bc898fc7a8d9cc87db47b693","ref":"refs/heads/master","pushedAt":"2024-06-01T19:05:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125856 - onur-ozkan:bootstrap-submodule-hotfix, r=onur-ozkan\n\ninclude missing submodule on bootstrap\n\nAs of https://github.com/rust-lang/rust/pull/125408 PR, rustbook now relies on dependencies from the \"src/doc/book\" submodule.\n\nHowever, bootstrap does not automatically sync this submodule before reading metadata informations. And if the submodule is not present, reading metadata will fail because rustbook's dependencies will be missing.\n\nThis change makes \"src/doc/book\" to be fetched/synced automatically before trying to read metadata.\n\ncc `@Zalathar`","shortMessageHtmlLink":"Auto merge of #125856 - onur-ozkan:bootstrap-submodule-hotfix, r=onur…"}},{"before":"acaf0aeed0dfbfc4be9f996344e2c5f294cf5794","after":"f2208b32971faba7fa6bf09bd0821adbf3db0c00","ref":"refs/heads/master","pushedAt":"2024-06-01T16:37:19.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #123572 - Mark-Simulacrum:vtable-methods, r=oli-obk\n\nIncrease vtable layout size\n\nThis improves LLVM's codegen by allowing vtable loads to be hoisted out of loops (as just one example). The calculation here is an under-approximation but works for simple trait hierarchies (e.g., FnMut will be improved). We have a runtime assert that the approximation is accurate, so there's no risk of UB as a result of getting this wrong.\n\n```rust\n#[no_mangle]\npub fn foo(elements: &[u32], callback: &mut dyn Callback) {\n for element in elements.iter() {\n if *element != 0 {\n callback.call(*element);\n }\n }\n}\n\npub trait Callback {\n fn call(&mut self, _: u32);\n}\n```\n\nSimplifying a bit (e.g., numbering ends up different):\n\n```diff\n ; Function Attrs: nonlazybind uwtable\n-define void `@foo(ptr` noalias noundef nonnull readonly align 4 %elements.0, i64 noundef %elements.1, ptr noundef nonnull align 1 %callback.0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %callback.1) unnamed_addr #0 {\n+define void `@foo(ptr` noalias noundef nonnull readonly align 4 %elements.0, i64 noundef %elements.1, ptr noundef nonnull align 1 %callback.0, ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %callback.1) unnamed_addr #0 {\n start:\n %_15 = getelementptr inbounds i32, ptr %elements.0, i64 %elements.1\n`@@` -13,4 +13,5 `@@`\n bb4.lr.ph: ; preds = %start\n %1 = getelementptr inbounds i8, ptr %callback.1, i64 24\n+ %2 = load ptr, ptr %1, align 8, !nonnull !3\n br label %bb4\n\n bb6: ; preds = %bb4\n- %4 = load ptr, ptr %1, align 8, !invariant.load !3, !nonnull !3\n- tail call void %4(ptr noundef nonnull align 1 %callback.0, i32 noundef %_9)\n+ tail call void %2(ptr noundef nonnull align 1 %callback.0, i32 noundef %_9)\n br label %bb7\n }\n```","shortMessageHtmlLink":"Auto merge of #123572 - Mark-Simulacrum:vtable-methods, r=oli-obk"}},{"before":"05965ae238403d8c141170b411245a62aa046240","after":"acaf0aeed0dfbfc4be9f996344e2c5f294cf5794","ref":"refs/heads/master","pushedAt":"2024-06-01T14:30:02.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125821 - Luv-Ray:issue#121126, r=fee1-dead\n\nCheck index `value <= 0xFFFF_FF00`\n\n\nfixes #121126\n\ncheck `idx <= FieldIdx::MAX_AS_U32` before calling `FieldIdx::from_u32` to avoid panic.","shortMessageHtmlLink":"Auto merge of #125821 - Luv-Ray:issue#121126, r=fee1-dead"}},{"before":"466be510af95d377a4e9997a6ab7c4db5f91e9ec","after":"05965ae238403d8c141170b411245a62aa046240","ref":"refs/heads/master","pushedAt":"2024-06-01T12:23:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124577 - GuillaumeGomez:stabilize-custom_code_classes_in_docs, r=rustdoc\n\nStabilize `custom_code_classes_in_docs` feature\n\nFixes #79483.\n\nThis feature has been around for quite some time now, I think it's fine to stabilize it now.\n\n## Summary\n\n## What is the feature about?\n\nIn short, this PR changes two things, both related to codeblocks in doc comments in Rust documentation:\n\n * Allow to disable generation of `language-*` CSS classes with the `custom` attribute.\n * Add your own CSS classes to a code block so that you can use other tools to highlight them.\n\n#### The `custom` attribute\n\nLet's start with the new `custom` attribute: it will disable the generation of the `language-*` CSS class on the generated HTML code block. For example:\n\n```rust\n/// ```custom,c\n/// int main(void) {\n/// return 0;\n/// }\n/// ```\n```\n\nThe generated HTML code block will not have `class=\"language-c\"` because the `custom` attribute has been set. The `custom` attribute becomes especially useful with the other thing added by this feature: adding your own CSS classes.\n\n#### Adding your own CSS classes\n\nThe second part of this feature is to allow users to add CSS classes themselves so that they can then add a JS library which will do it (like `highlight.js` or `prism.js`), allowing to support highlighting for other languages than Rust without increasing burden on rustdoc. To disable the automatic `language-*` CSS class generation, you need to use the `custom` attribute as well.\n\nThis allow users to write the following:\n\n```rust\n/// Some code block with `{class=language-c}` as the language string.\n///\n/// ```custom,{class=language-c}\n/// int main(void) {\n/// return 0;\n/// }\n/// ```\nfn main() {}\n```\n\nThis will notably produce the following HTML:\n\n```html\n
\nint main(void) {\n    return 0;\n}
\n```\n\nInstead of:\n\n```html\n
\nint main(void) {\n    return 0;\n}\n
\n```\n\nTo be noted, we could have written `{.language-c}` to achieve the same result. `.` and `class=` have the same effect.\n\nOne last syntax point: content between parens (`(like this)`) is now considered as comment and is not taken into account at all.\n\nIn addition to this, I added an `unknown` field into `LangString` (the parsed code block \"attribute\") because of cases like this:\n\n```rust\n/// ```custom,class:language-c\n/// main;\n/// ```\npub fn foo() {}\n```\n\nWithout this `unknown` field, it would generate in the DOM: `
`, which is quite bad. So instead, it now stores all unknown tags into the `unknown` field and use the first one as \"language\". So in this case, since there is no unknown tag, it'll simply generate `
`. I added tests to cover this.\n\nEDIT(camelid): This description is out-of-date. Using `custom,class:language-c` will generate the output `
` as would be expected; it treats `class:language-c` as just the name of a language (similar to the langstring `c` or `js` or what have you) since it does not use the designed class syntax.\n\nFinally, I added a parser for the codeblock attributes to make it much easier to maintain. It'll be pretty easy to extend.\n\nAs to why this syntax for adding attributes was picked: it's [Pandoc's syntax](https://pandoc.org/MANUAL.html#extension-fenced_code_attributes). Even if it seems clunkier in some cases, it's extensible, and most third-party Markdown renderers are smart enough to ignore Pandoc's brace-delimited attributes (from [this comment](https://github.com/rust-lang/rust/pull/110800#issuecomment-1522044456)).\n\nr? `@notriddle`","shortMessageHtmlLink":"Auto merge of #124577 - GuillaumeGomez:stabilize-custom_code_classes_…"}},{"before":"dcc9a8f2831a9afd2896e3fe2cc020bb2bf949bd","after":"466be510af95d377a4e9997a6ab7c4db5f91e9ec","ref":"refs/heads/master","pushedAt":"2024-06-01T09:16:23.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125211 - Coekjan:const-binary-heap, r=jhpratt\n\nStablize `const_binary_heap_constructor`\n\nThis pr aims to stablize `const_binary_heap_constructor`.\n\n`BinaryHeap::new` is able to be stablized, but `BinaryHeap::new_in` is not. Because the latter depends on `Vec::new_in` which is unstable.\n\nThe `const_binary_heap_constructor` feature contains the two functions, and I want to split this feature now. This pr creates `const_binary_heap_new_in` feature for `BinaryHeap::new_in` and stablizes `const_binary_heap_constructor` (now this original feature only contains one function).","shortMessageHtmlLink":"Auto merge of #125211 - Coekjan:const-binary-heap, r=jhpratt"}},{"before":"20be84a7e62af0a623af4bfb75df6d30cb39d6d0","after":"dcc9a8f2831a9afd2896e3fe2cc020bb2bf949bd","ref":"refs/heads/master","pushedAt":"2024-06-01T06:10:41.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125835 - weihanglo:update-cargo, r=weihanglo\n\nUpdate cargo\n\n9 commits in 431db31d0dbeda320caf8ef8535ea48eb3093407..7a6fad0984d28c8330974636972aa296b67c4513\n2024-05-28 18:17:31 +0000 to 2024-05-31 22:26:03 +0000\n- fix(config): Ensure `--config net.git-fetch-with-cli=true` is respected (rust-lang/cargo#13992)\n- Fix libcurl proxy documentation link (rust-lang/cargo#13990)\n- fix(new): Dont say were adding to a workspace when a regular package is in root (rust-lang/cargo#13987)\n- fix: adjust custom err from cert-check due to libgit2 1.8 change (rust-lang/cargo#13970)\n- fix(toml): Ensure targets are in a deterministic order (rust-lang/cargo#13989)\n- doc(cargo-package): explain no guarantee of vcs provenance (rust-lang/cargo#13984)\n- chore: fix some comments (rust-lang/cargo#13982)\n- feat: stabilize `cargo update --precise <yanked>` (rust-lang/cargo#13974)\n- Update openssl-src to 111.28.2+1.1.1w (rust-lang/cargo#13976)\n\nr? ghost","shortMessageHtmlLink":"Auto merge of #125835 - weihanglo:update-cargo, r=weihanglo"}},{"before":"ada5e2c7b5427a591e30baeeee2698a5eb6db0bd","after":"20be84a7e62af0a623af4bfb75df6d30cb39d6d0","ref":"refs/heads/master","pushedAt":"2024-06-01T04:02:18.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125408 - chriskrycho:chriskrycho/book-updates, r=ehuss\n\nSupport mdBook preprocessors for TRPL in rustbook\n\n`rust-lang/book` recently added two mdBook preprocessors. Enable `rustbook` to use those preprocessors for books where they are requested by the `book.toml` by adding the preprocessors as path dependencies, and ignoring them where they are not requested, i.e. by all the books other than TRPL at present.\n\nAddresses rust-lang/book#3927","shortMessageHtmlLink":"Auto merge of #125408 - chriskrycho:chriskrycho/book-updates, r=ehuss"}},{"before":"2a2c29aafa50bf6fe53d66b32070eba59f860ac3","after":"ada5e2c7b5427a591e30baeeee2698a5eb6db0bd","ref":"refs/heads/master","pushedAt":"2024-05-31T18:18:10.000Z","pushType":"push","commitsCount":23,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125824 - matthiaskrgr:rollup-eam7i0p, r=matthiaskrgr\n\nRollup of 7 pull requests\n\nSuccessful merges:\n\n - #125652 (Revert propagation of drop-live information from Polonius)\n - #125730 (Apply `x clippy --fix` and `x fmt` on Rustc)\n - #125756 (coverage: Optionally instrument the RHS of lazy logical operators)\n - #125776 (Stop using `translate_args` in the new solver)\n - #125796 (Also InstSimplify `&raw*`)\n - #125807 (Also resolve the type of constants, even if we already turned it into an error constant)\n - #125816 (Don't build the `rust-demangler` binary for coverage tests)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125824 - matthiaskrgr:rollup-eam7i0p, r=matthiaskrgr"}},{"before":"99cb42c29641aee2cce6521e07960d4de93205c8","after":"2a2c29aafa50bf6fe53d66b32070eba59f860ac3","ref":"refs/heads/master","pushedAt":"2024-05-31T14:25:31.000Z","pushType":"push","commitsCount":12,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125759 - nnethercote:format-some-tests, r=GuillaumeGomez\n\nFormat some tests\n\nThere are more directories under `tests/` still to do, but this is enough for one PR.\n\nr? `@GuillaumeGomez`","shortMessageHtmlLink":"Auto merge of #125759 - nnethercote:format-some-tests, r=GuillaumeGomez"}},{"before":"bf8fff783ff533c055d276378ada30563312def1","after":"99cb42c29641aee2cce6521e07960d4de93205c8","ref":"refs/heads/master","pushedAt":"2024-05-31T12:17:51.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124662 - zetanumbers:needs_async_drop, r=oli-obk\n\nImplement `needs_async_drop` in rustc and optimize async drop glue\n\nThis PR expands on #121801 and implements `Ty::needs_async_drop` which works almost exactly the same as `Ty::needs_drop`, which is needed for #123948.\n\nAlso made compiler's async drop code to look more like compiler's regular drop code, which enabled me to write an optimization where types which do not use `AsyncDrop` can simply forward async drop glue to `drop_in_place`. This made size of the async block from the [async_drop test](https://github.com/zetanumbers/rust/blob/67980dd6fb11917d23d01a19c2cf4cfc3978aac8/tests/ui/async-await/async-drop.rs) to decrease by 12%.","shortMessageHtmlLink":"Auto merge of #124662 - zetanumbers:needs_async_drop, r=oli-obk"}},{"before":"366da30d554719e7490950aeea5d3f3a5927e313","after":"bf8fff783ff533c055d276378ada30563312def1","ref":"refs/heads/master","pushedAt":"2024-05-31T10:04:01.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125797 - matthiaskrgr:rollup-v2jmg7i, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #125635 (Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanup)\n - #125774 (Avoid unwrap diag.code directly in note_and_explain_type_err)\n - #125786 (Fold item bounds before proving them in `check_type_bounds` in new solver)\n - #125790 (Don't recompute `tail` in `lower_stmts`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125797 - matthiaskrgr:rollup-v2jmg7i, r=matthiaskrgr"}},{"before":"434999efe6e9aa61afbd8b4ae86864d3ce91c533","after":"366da30d554719e7490950aeea5d3f3a5927e313","ref":"refs/heads/master","pushedAt":"2024-05-31T02:45:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125794 - cjgillot:revert-115105, r=compiler-errors\n\nRevert \"Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk\"\n\nThis reverts commit cfb730450f847bb622243eaaab15e77e58d91767, reversing changes made to 91c0823ee63e793d990bb9fed898dc95b5d6db51.\n\nTo address https://github.com/rust-lang/rust/pull/115105#issuecomment-2141019310\nr? `@oli-obk`\n\n","shortMessageHtmlLink":"Auto merge of #125794 - cjgillot:revert-115105, r=compiler-errors"}},{"before":"6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4","after":"434999efe6e9aa61afbd8b4ae86864d3ce91c533","ref":"refs/heads/master","pushedAt":"2024-05-31T00:01:15.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125710 - RalfJung:compiletest-components, r=workingjubilee\n\ncompiletest: clarify COMPILETEST_NEEDS_ALL_LLVM_COMPONENTS error\n\nCOMPILETEST_NEEDS_ALL_LLVM_COMPONENTS is a confusing name because elsewhere \"needs\" means \"ignore when requirement not met\", but here it means \"fail when requirement not met\".","shortMessageHtmlLink":"Auto merge of #125710 - RalfJung:compiletest-components, r=workingjub…"}},{"before":"7feb191f18918f93006d6a3e74938a9708564be4","after":"6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4","ref":"refs/heads/master","pushedAt":"2024-05-30T21:06:34.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125378 - lcnr:tracing-no-lines, r=oli-obk\n\nremove tracing tree indent lines\n\nThis allows vscode to collapse nested spans without having to manually remove the indent lines. This is incredibly useful when logging the new solver. I don't mind making them optional depending on some environment flag if you prefer using indent lines\n\nFor a gist of the new output, see https://gist.github.com/lcnr/bb4360ddbc5cd4631f2fbc569057e5eb#file-example-output-L181\n\nr? `@oli-obk`","shortMessageHtmlLink":"Auto merge of #125378 - lcnr:tracing-no-lines, r=oli-obk"}},{"before":"cfb730450f847bb622243eaaab15e77e58d91767","after":"7feb191f18918f93006d6a3e74938a9708564be4","ref":"refs/heads/master","pushedAt":"2024-05-30T18:56:42.000Z","pushType":"push","commitsCount":58,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125764 - flip1995:clippy-subtree-update, r=Manishearth\n\nClippy subtree update\n\nr? `@Manishearth`","shortMessageHtmlLink":"Auto merge of #125764 - flip1995:clippy-subtree-update, r=Manishearth"}},{"before":"91c0823ee63e793d990bb9fed898dc95b5d6db51","after":"cfb730450f847bb622243eaaab15e77e58d91767","ref":"refs/heads/master","pushedAt":"2024-05-30T16:45:25.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk\n\nEnable DestinationPropagation by default.\n\n~~Based on https://github.com/rust-lang/rust/pull/115291.~~\n\nThis PR proposes to enable the destination propagation pass by default.\nThis pass is meant to reduce the amount of copies present in MIR.\n\nAt the same time, this PR removes the `RenameReturnPlace` pass, as it is currently unsound.\n`DestinationPropagation` is not limited to `_0`, but does not handle borrowed locals.","shortMessageHtmlLink":"Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"}},{"before":"f3ff2f16c8f59fe5db9ec3382e4d2cc913e376a3","after":"91c0823ee63e793d990bb9fed898dc95b5d6db51","ref":"refs/heads/master","pushedAt":"2024-05-30T14:26:41.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkov\n\nMake `std::env::{set_var, remove_var}` unsafe in edition 2024\n\nAllow calling these functions without `unsafe` blocks in editions up until 2021, but don't trigger the `unused_unsafe` lint for `unsafe` blocks containing these functions.\n\nFixes #27970.\nFixes #90308.\nCC #124866.","shortMessageHtmlLink":"Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkov"}},{"before":"d43930dab36b81267d436fd16066419d3a66e054","after":"f3ff2f16c8f59fe5db9ec3382e4d2cc913e376a3","ref":"refs/heads/master","pushedAt":"2024-05-30T12:16:01.000Z","pushType":"push","commitsCount":15,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125761 - matthiaskrgr:rollup-7u082og, r=matthiaskrgr\n\nRollup of 7 pull requests\n\nSuccessful merges:\n\n - #125342 (Document platform-specifics for `Read` and `Write` of `File`)\n - #125711 (Make `body_owned_by` return the `Body` instead of just the `BodyId`)\n - #125739 (drop_in_place: weaken the claim of equivalence with drop(ptr.read()))\n - #125745 (Bump the stage0 compiler to beta.7 (2024-05-26))\n - #125746 (Fix copy-paste error in `Duration::from_weeks` panic message.)\n - #125753 (compiletest: Unify `cmd2procres` with `run_command_to_procres`)\n - #125754 (coverage: Rename MC/DC `conditions_num` to `num_conditions`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125761 - matthiaskrgr:rollup-7u082og, r=matthiaskrgr"}},{"before":"32a3ed229caaaa6476ee1b0e644dd53579454536","after":"d43930dab36b81267d436fd16066419d3a66e054","ref":"refs/heads/master","pushedAt":"2024-05-30T10:08:25.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125711 - oli-obk:const_block_ice2, r=Nadrieril\n\nMake `body_owned_by` return the `Body` instead of just the `BodyId`\n\nfixes #125677\n\nAlmost all `body_owned_by` callers immediately called `body`, too, so just return `Body` directly.\n\nThis makes the inline-const query feeding more robust, as all calls to `body_owned_by` will now yield a body for inline consts, too.\n\nI have not yet figured out a good way to make `tcx.hir().body()` return an inline-const body, but that can be done as a follow-up","shortMessageHtmlLink":"Auto merge of #125711 - oli-obk:const_block_ice2, r=Nadrieril"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEWl6slQA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust"}