mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Enforce that we don't generate code for comptime fns ... by ICEing if you try to compute a symbol for them. There are various other ways we can assert it, but they were all a bit icky or already unreachable. r? @fmease (since you asked about it in https://github.com/rust-lang/rust/pull/159727#discussion_r3636421134)
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.