-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 7 pull requests #124675
Rollup of 7 pull requests #124675
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6a1b36 - Browse repository at this point
Copy the full SHA d6a1b36View commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3ad0618 - Browse repository at this point
Copy the full SHA 3ad0618View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 589c2fe - Browse repository at this point
Copy the full SHA 589c2feView commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 52d608b - Browse repository at this point
Copy the full SHA 52d608bView commit details -
coverage: Set up MC/DC bitmaps without additional unsafe code
Because this now always takes place at the start of the function, we can just use the normal `alloca` method and then initialize each bitmap immediately. This patch also moves bitmap setup out of the `mcdc_parameters` method, because there is no longer any particular reason for it to be there.
Configuration menu - View commit details
-
Copy full SHA for 0b3a479 - Browse repository at this point
Copy the full SHA 0b3a479View commit details -
coverage: Replace
max_decision_depth
withnum_condition_bitmaps
This clearly distinguishes individual decision-depth indices from the total number of condition bitmaps to allocate.
Configuration menu - View commit details
-
Copy full SHA for de972b7 - Browse repository at this point
Copy the full SHA de972b7View commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e610a52 - Browse repository at this point
Copy the full SHA e610a52View commit details
Commits on May 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2245630 - Browse repository at this point
Copy the full SHA 2245630View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0042f - Browse repository at this point
Copy the full SHA 0e0042fView commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f6703b - Browse repository at this point
Copy the full SHA 3f6703bView commit details -
Rollup merge of rust-lang#122492 - GrigorenkoPV:ptr_as_ref_unchecked,…
… r=workingjubilee Implement ptr_as_ref_unchecked Implementation of rust-lang#122034. Prefixed the feature name with `ptr_` for clarity. Linked const-unstability to rust-lang#91822, so the post there should probably be updated to mentions the 3 new methods when/if this PR is merged.
Configuration menu - View commit details
-
Copy full SHA for a296693 - Browse repository at this point
Copy the full SHA a296693View commit details -
Rollup merge of rust-lang#123815 - trueb2:patch-1, r=workingjubilee
Fix cannot usage in time.rs Fix a small grammar error in usage of cannot in time.rs errors
Configuration menu - View commit details
-
Copy full SHA for 4b913a2 - Browse repository at this point
Copy the full SHA 4b913a2View commit details -
Rollup merge of rust-lang#124059 - RalfJung:default_alloc_error_hook,…
… r=workingjubilee default_alloc_error_hook: explain difference to default __rdl_oom in alloc Though I'm not sure if that is really the reason that this code is duplicated. On no_std it may already be possible to call user-defined code on allocation failure.
Configuration menu - View commit details
-
Copy full SHA for 8e3f61b - Browse repository at this point
Copy the full SHA 8e3f61bView commit details -
Rollup merge of rust-lang#124510 - linyihai:raw-ident-in-typo-suggest…
…ion, r=fmease Add raw identifier in a typo suggestion Fixes rust-lang#68962
Configuration menu - View commit details
-
Copy full SHA for bd305e1 - Browse repository at this point
Copy the full SHA bd305e1View commit details -
Rollup merge of rust-lang#124555 - Zalathar:init-coverage, r=nnethercote
coverage: Clean up creation of MC/DC condition bitmaps This PR improves the code for creating and initializing [MC/DC](https://en.wikipedia.org/wiki/Modified_condition/decision_coverage) condition bitmap variables, as introduced by rust-lang#123409 and modified by rust-lang#124255. - The condition bitmap variables are now created eagerly at the start of per-function codegen, via a new `init_coverage` method in `CoverageInfoBuilderMethods`. This avoids having to retroactively create the bitmaps while doing codegen for an individual coverage statement. - As a result, we can now create and initialize those bitmaps using existing safe APIs, instead of having to perform our own unsafe call to `llvm::LLVMBuildAlloca`. - This PR also tweaks the way we count the number of condition bitmaps needed, by tracking the total number of bitmaps needed (max depth + 1), instead of only tracking the maximum depth. This reduces the potential for subtle off-by-one confusion.
Configuration menu - View commit details
-
Copy full SHA for 613bccc - Browse repository at this point
Copy the full SHA 613bcccView commit details -
Rollup merge of rust-lang#124593 - GKFX:cstr-literals-in-api-docs, r=…
…workingjubilee Describe and use CStr literals in CStr and CString docs Mention CStr literals in the description of both types, and use them in some of the code samples for CStr. This is intended to make C string literals more discoverable. Additionally, I don't think the orange "This example is not tested" warnings are very encouraging, so I have made the examples on `CStr` build.
Configuration menu - View commit details
-
Copy full SHA for 1ff247c - Browse repository at this point
Copy the full SHA 1ff247cView commit details -
Rollup merge of rust-lang#124630 - Kobzol:yaml-anchor, r=pietroalbini
CI: remove `env-x86_64-apple-tests` YAML anchor This PR removes the only remaining anchor in the definition of CI jobs. This anchor made it annoying to copy-paste the job e.g. to PR CI. Fixes: https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/How.20do.20you.20edit.20PR.20CI.20to.20test.20PR.20now.3F r? ``@pietroalbini``
Configuration menu - View commit details
-
Copy full SHA for 56b2989 - Browse repository at this point
Copy the full SHA 56b2989View commit details