diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-20 09:46:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-20 09:46:12 +0100 |
| commit | 8b3914ce4829f6d19ff76dbad7e648f78adf8dfd (patch) | |
| tree | 690676492d89ff7f506f12792caa40f7942fa036 /compiler/rustc_resolve/src | |
| parent | f9c752d931c3ad05974765f796db33c6d72e21ea (diff) | |
| parent | 76b3e6de558cc67dca0098def00b0ee55dfc8d58 (diff) | |
| download | rust-8b3914ce4829f6d19ff76dbad7e648f78adf8dfd.tar.gz rust-8b3914ce4829f6d19ff76dbad7e648f78adf8dfd.zip | |
Rollup merge of #119094 - celinval:smir-layout, r=compiler-errors
Add function ABI and type layout to StableMIR This change introduces a new module to StableMIR named `abi` with information from `rustc_target::abi` and `rustc_abi`, that allow users to retrieve more low level information required to perform bit-precise analysis. The layout of a type can be retrieved via `Ty::layout`, and the instance ABI can be retrieved via `Instance::fn_abi()`. To properly handle errors while retrieve layout information, we had to implement a few layout related traits. r? ```@compiler-errors```
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
