-
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 #126817
Rollup of 7 pull requests #126817
Commits on Jun 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75ee1d7 - Browse repository at this point
Copy the full SHA 75ee1d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f22b5af - Browse repository at this point
Copy the full SHA f22b5afView commit details
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3c0a4bc - Browse repository at this point
Copy the full SHA 3c0a4bcView commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 225796a - Browse repository at this point
Copy the full SHA 225796aView commit details -
add as_ptr to trait AllocBytes, fix 2 impls; add pub fn get_bytes_unc…
…hecked_raw in allocation.rs; add pub fn get_alloc_bytes_unchecked_raw[_mut] in memory.rs
Configuration menu - View commit details
-
Copy full SHA for b512bf6 - Browse repository at this point
Copy the full SHA b512bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771e44e - Browse repository at this point
Copy the full SHA 771e44eView commit details -
[fuchsia-test-runner] Remove usage of kw_only
We are still at Python 3.8 in Fuchsia infra. This was introduced at Python 3.10.
Configuration menu - View commit details
-
Copy full SHA for d94a405 - Browse repository at this point
Copy the full SHA d94a405View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5892e - Browse repository at this point
Copy the full SHA 5d5892eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea681ef - Browse repository at this point
Copy the full SHA ea681efView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd72b1 - Browse repository at this point
Copy the full SHA ffd72b1View commit details
Commits on Jun 22, 2024
-
Rollup merge of rust-lang#126530 - beetrees:f16-inline-asm-riscv, r=A…
…manieu Add `f16` inline ASM support for RISC-V This PR adds `f16` inline ASM support for RISC-V. A `FIXME` is left for `f128` support as LLVM does not support the required `Q` (Quad-Precision Floating-Point) extension yet. Relevant issue: rust-lang#125398 Tracking issue: rust-lang#116909 `@rustbot` label +F-f16_and_f128
Configuration menu - View commit details
-
Copy full SHA for e7956cd - Browse repository at this point
Copy the full SHA e7956cdView commit details -
Rollup merge of rust-lang#126712 - Oneirical:bootest-constestllation,…
… r=jieyouxu Migrate `relocation-model`, `error-writing-dependencies` and `crate-name-priority` `run-make` tests to rmake Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Needs MSVC try-job due to rust-lang#28026, almost guaranteed to fail, but let's see anyways. try-job: aarch64-gnu `/* try-job: x86_64-msvc */` try-job: x86_64-apple-1 try-job: armhf-gnu try-job: test-various
Configuration menu - View commit details
-
Copy full SHA for 84b0922 - Browse repository at this point
Copy the full SHA 84b0922View commit details -
Rollup merge of rust-lang#126722 - adwinwhite:ptr_fn_abi, r=celinval
Add method to get `FnAbi` of function pointer Provide a StableMIR API to query `FnAbi` of a function pointer. Fixes [rust-lang/project-stable-mir#63](rust-lang/project-stable-mir#63)
Configuration menu - View commit details
-
Copy full SHA for 1f9793f - Browse repository at this point
Copy the full SHA 1f9793fView commit details -
Rollup merge of rust-lang#126787 - Strophox:get-bytes, r=RalfJung
Add direct accessors for memory addresses in `Machine` (for Miri) The purpose of this PR is to enable direct (immutable) access to memory addresses in `Machine`, which will be needed for further extension of Miri. This is done by adding (/completing missings pairs of) accessor functions, with the relevant signatures as follows: ```rust /* rust/compiler/rustc_middle/src/mir/interpret/allocation.rs */ pub trait AllocBytes { // .. fn as_ptr(&self) -> *const u8; /*fn as_mut_ptr(&mut self) -> *mut u8; -- Already in the compiler*/ } impl<Prov: Provenance, Extra, Bytes: AllocBytes> Allocation<Prov, Extra, Bytes> { // .. pub fn get_bytes_unchecked_raw(&self) -> *const u8; /*pub fn get_bytes_unchecked_raw_mut(&mut self) -> *mut u8; -- Already in the compiler*/ } ``` ```rust /* rust/compiler/rustc_const_eval/src/interpret/memory.rs */ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { // .. pub fn get_alloc_bytes_unchecked_raw(&self, id: AllocId) -> InterpResult<'tcx, *const u8>; pub fn get_alloc_bytes_unchecked_raw_mut(&mut self, id: AllocId) -> InterpResult<'tcx, *mut u8>; } ``` r? ``@RalfJung``
Configuration menu - View commit details
-
Copy full SHA for 9498d5c - Browse repository at this point
Copy the full SHA 9498d5cView commit details -
Rollup merge of rust-lang#126798 - miguelfrde:master, r=tmandry
[fuchsia-test-runner] Remove usage of kw_only We are still at Python 3.8 in Fuchsia infra. This was introduced at Python 3.10. r? tmandry r? erickt
Configuration menu - View commit details
-
Copy full SHA for b9ab6c3 - Browse repository at this point
Copy the full SHA b9ab6c3View commit details -
Rollup merge of rust-lang#126809 - estebank:wording-tweak, r=oli-obk
Remove stray `.` from error message
Configuration menu - View commit details
-
Copy full SHA for 539090e - Browse repository at this point
Copy the full SHA 539090eView commit details -
Rollup merge of rust-lang#126811 - compiler-errors:tidy-ftl, r=estebank
Add a tidy rule to check that fluent messages and attrs don't end in `.` This adds a new dependency on `fluent-parse` to `tidy` -- we already rely on it in rustc so I feel like it's not that big of a deal. This PR also adjusts many error messages that currently end in `.`; not all of them since I added an `ALLOWLIST`, excluded `rustc_codegen_*` ftl files, and `.teach_note` attributes. r? ``@estebank`` ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 1916b3d - Browse repository at this point
Copy the full SHA 1916b3dView commit details