-
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 7 pull requests #118740
Rollup of 7 pull requests #118740
Commits on Oct 15, 2023
-
Make File::create work on Windows hidden files
Previously it failed on Windows if the file had the `FILE_ATTRIBUTE_HIDDEN` attribute set. This was inconsistent with `OpenOptions::new().write(true).truncate(true)` which can truncate an existing hidden file.
Configuration menu - View commit details
-
Copy full SHA for c6f7aa0 - Browse repository at this point
Copy the full SHA c6f7aa0View commit details
Commits on Nov 28, 2023
-
Add unstable
-Zdefault-hidden-visibility
cmdline flag forrustc
.The new flag has been described in the Major Change Proposal at rust-lang/compiler-team#656
Configuration menu - View commit details
-
Copy full SHA for 1a0829c - Browse repository at this point
Copy the full SHA 1a0829cView commit details
Commits on Dec 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 329412d - Browse repository at this point
Copy the full SHA 329412dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20413b1 - Browse repository at this point
Copy the full SHA 20413b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c623489 - Browse repository at this point
Copy the full SHA c623489View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for efe8ae7 - Browse repository at this point
Copy the full SHA efe8ae7View commit details
Commits on Dec 8, 2023
-
Add instance evaluation and methods to read alloc
The instance evaluation is needed to handle intrinsics such as `type_id` and `type_name`. Since we now use Allocation to represent all evaluated constants, provide a few methods to help process the data inside an allocation.
Configuration menu - View commit details
-
Copy full SHA for 4c9e842 - Browse repository at this point
Copy the full SHA 4c9e842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cb6463 - Browse repository at this point
Copy the full SHA 9cb6463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a0e7e6 - Browse repository at this point
Copy the full SHA 0a0e7e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e15c49 - Browse repository at this point
Copy the full SHA 9e15c49View commit details -
detects redundant imports that can be eliminated. for rust-lang#117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
Configuration menu - View commit details
-
Copy full SHA for 4b64fbf - Browse repository at this point
Copy the full SHA 4b64fbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a002814 - Browse repository at this point
Copy the full SHA a002814View commit details -
Avoid target_os and target_arch in some check-cfg tests
as they unnecessarily clutter the diagnostic output and make the experience of adding a new target to the compiler more painful than it should be. target_os and target_arch are still being tested in the well-known-values.rs test, but in one place.
Configuration menu - View commit details
-
Copy full SHA for 5a17ee7 - Browse repository at this point
Copy the full SHA 5a17ee7View commit details -
Rollup merge of rust-lang#116438 - ChrisDenton:truncate, r=thomcc
Windows: Allow `File::create` to work on hidden files This makes `OpenOptions::new().write(true).create(true).truncate(true).open(&path)` work if the path exists and is a hidden file. Previously it would fail with access denied. This makes it consistent with `OpenOptions::new().write(true).truncate(true).open(&path)` (note the lack of `create`) which does not have this restriction. It's also more consistent with other platforms. Fixes rust-lang#115745 (see that issue for more details).
Configuration menu - View commit details
-
Copy full SHA for 23af40d - Browse repository at this point
Copy the full SHA 23af40dView commit details -
Rollup merge of rust-lang#117116 - calebzulawski:repr-simd-packed, r=…
…workingjubilee Implement repr(packed) for repr(simd) This allows creating vectors with non-power-of-2 lengths that do not have padding. See rust-lang/portable-simd#319
Configuration menu - View commit details
-
Copy full SHA for d64a500 - Browse repository at this point
Copy the full SHA d64a500View commit details -
Rollup merge of rust-lang#118417 - anforowicz:default-hidden-visibili…
…ty, r=TaKO8Ki Add unstable `-Zdefault-hidden-visibility` cmdline flag for `rustc`. The new flag has been described in the Major Change Proposal at rust-lang/compiler-team#656
Configuration menu - View commit details
-
Copy full SHA for ffd4b56 - Browse repository at this point
Copy the full SHA ffd4b56View commit details -
Rollup merge of rust-lang#118689 - compiler-errors:const-drop, r=fee1…
…-dead Fix const drop checking Fixes confirmation of `~const Destruct` and const drops. r? fee1-dead
Configuration menu - View commit details
-
Copy full SHA for 2420af4 - Browse repository at this point
Copy the full SHA 2420af4View commit details -
Rollup merge of rust-lang#118692 - surechen:remove_unused_imports, r=…
…petrochenkov remove redundant imports detects redundant imports that can be eliminated. for rust-lang#117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. r? ``@petrochenkov``
Configuration menu - View commit details
-
Copy full SHA for 19e70fd - Browse repository at this point
Copy the full SHA 19e70fdView commit details -
Rollup merge of rust-lang#118694 - celinval:smir-alloc-methods, r=ouz-a
Add instance evaluation and methods to read an allocation in StableMIR The instance evaluation is needed to handle intrinsics such as `type_id` and `type_name`. Since we now use Allocation to represent all evaluated constants, provide a few methods to help process the data inside an allocation. I've also started to add a structured way to get information about the compilation target machine. For now, I've only added information needed to process an allocation. r? ``@ouz-a``
Configuration menu - View commit details
-
Copy full SHA for 72cead3 - Browse repository at this point
Copy the full SHA 72cead3View commit details -
Rollup merge of rust-lang#118702 - Urgau:check-cfg-strengthen-well-kn…
…own, r=nnethercote Strengthen well known check-cfg names and values test rust-lang#118494 is changing the implementation of how we expect well known check-cfg names and values, but we currently don't have a test that checks every well known only some of them. This PR therefore strengthen our well known names/values test to include all of the configs to at least avoid unintended regressions and validate new entry. *this PR also contains some drive-by consolidation of unexpected `target_os`, `target_arch` into a single file* r? `@nnethercote` (maybe? feel free to re-assign)
Configuration menu - View commit details
-
Copy full SHA for 409bb3e - Browse repository at this point
Copy the full SHA 409bb3eView commit details