Skip to content

Commit a917ac0

Browse files
committed
Auto merge of #126817 - workingjubilee:rollup-0rg0k55, r=workingjubilee
Rollup of 7 pull requests Successful merges: - #126530 (Add `f16` inline ASM support for RISC-V) - #126712 (Migrate `relocation-model`, `error-writing-dependencies` and `crate-name-priority` `run-make` tests to rmake) - #126722 (Add method to get `FnAbi` of function pointer) - #126787 (Add direct accessors for memory addresses in `Machine` (for Miri)) - #126798 ([fuchsia-test-runner] Remove usage of kw_only) - #126809 (Remove stray `.` from error message) - #126811 (Add a tidy rule to check that fluent messages and attrs don't end in `.`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents d326732 + 31d7a43 commit a917ac0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/alloc_bytes.rs

+4
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,8 @@ impl AllocBytes for MiriAllocBytes {
108108
fn as_mut_ptr(&mut self) -> *mut u8 {
109109
self.ptr
110110
}
111+
112+
fn as_ptr(&self) -> *const u8 {
113+
self.ptr
114+
}
111115
}

0 commit comments

Comments
 (0)