about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-03 15:26:09 +0200
committerGitHub <noreply@github.com>2024-05-03 15:26:09 +0200
commiteaca729e0b9aa53b3a454f15d078bee5531a6304 (patch)
treec4e4de9990ba7157409b8bcd9757e0f12ab23742 /compiler/rustc_codegen_gcc/example/example.rs
parent819a5f0546e222cad66a987e9a3f3b72d47bbc5b (diff)
parent38181cba79e8a711e409ca04b9780ef6243aa4fe (diff)
downloadrust-eaca729e0b9aa53b3a454f15d078bee5531a6304.tar.gz
rust-eaca729e0b9aa53b3a454f15d078bee5531a6304.zip
Rollup merge of #124492 - Strophox:adjust-allocbytes, r=RalfJung
Generalize `adjust_from_tcx` for `Allocation`

Previously, `adjust_from_tcx` would take an `Allocation` and "adjust allocation from the ones in `tcx` to a custom Machine instance [...]".
This PR generalizes this so the Machine instance can also determine the `Bytes` type of the output `Allocation`.

r? `@RalfJung`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions