1
Fork 0
rust/compiler/rustc_middle/src/mir
bors 366dab13f7 Auto merge of #115699 - RalfJung:interpret-abi-compat, r=oli-obk
interpret: change ABI-compat test to be type-based

This makes the test consistent across targets. Otherwise the chances are very high that ABI mismatches get accepted on x86_64 but still fail on many other targets with more complicated ABIs.

This implements (most of) the rules described in https://github.com/rust-lang/rust/pull/115476.
2023-09-12 03:34:55 +00:00
..
interpret give extra context to ABI mismatch errors 2023-09-09 15:36:44 +02:00
basic_blocks.rs Use OnceLock for SingleCache 2023-09-01 03:11:51 +02:00
coverage.rs coverage: Give the instrumentor its own counter type, separate from MIR 2023-08-20 12:02:40 +10:00
generic_graph.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
generic_graphviz.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
graphviz.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
mod.rs Disentangle Debug and Display for Ty. 2023-09-11 12:51:07 +10:00
mono.rs rustc: Move stable_crate_id from Session to GlobalCtxt 2023-08-09 14:35:23 +08:00
patch.rs cache the terminate block with the last reason that we saw 2023-08-24 13:28:26 +02:00
pretty.rs Disentangle Debug and Display for Ty. 2023-09-11 12:51:07 +10:00
query.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
spanview.rs sync printing of MIR terminators with their new names (and dedup some to-str logic) 2023-08-20 15:52:40 +02:00
syntax.rs when terminating during unwinding, show the reason why 2023-08-24 13:28:26 +02:00
tcx.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
terminator.rs make MIR less verbose 2023-08-24 14:26:26 +02:00
traversal.rs remove redundant combinators between PO and RPO 2023-06-18 09:16:40 +00:00
type_foldable.rs intern offsetof fields 2023-04-21 02:14:03 -07:00
visit.rs Refactor how MIR represents composite debuginfo. 2023-09-05 17:20:07 +00:00