rust/library/core
Matthias Krüger fb5bd7ffcc
Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errors
mark is_val_statically_known intrinsic as stably const-callable

The intrinsic doesn't actually "do" anything in terms of language semantics, and we are already using it in stable const fn. So let's just properly mark it as stably const-callable to avoid needing `rustc_allow_const_fn_unstable` (and thus reducing noise and keeping the remaining `rustc_allow_const_fn_unstable` as a more clear signal).

Cc `@rust-lang/lang` usually you have to approve exposing intrinsics in const, but this intrinsic is basically just a compiler implementation detail. So FCP doesn't seem necessary.
Cc `@rust-lang/wg-const-eval`
2024-11-16 21:05:44 +01:00
..
benches Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjubilee 2024-11-14 04:17:20 +00:00
src Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errors 2024-11-16 21:05:44 +01:00
tests Rollup merge of #133003 - zachs18:clonetouninit-dyn-compat-u8, r=dtolnay 2024-11-13 22:43:37 -08:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00