rust/compiler/rustc_span
bors c34ac8747c Auto merge of #89247 - fee1-dead:const-eval-select, r=oli-obk
Add `const_eval_select` intrinsic

Adds an intrinsic that calls a given function when evaluated at compiler time, but generates a call to another function when called at runtime.

See https://github.com/rust-lang/const-eval/issues/7 for previous discussion.

r? `@oli-obk.`
2021-10-14 10:06:30 +00:00
..
src Auto merge of #89247 - fee1-dead:const-eval-select, r=oli-obk 2021-10-14 10:06:30 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00