mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00

share some track_caller logic between interpret and codegen Also move the code that implements the track_caller intrinsics out of the core interpreter engine -- it's just a helper creating a const-allocation, doesn't need to be part of the interpreter core.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.