Files
rust/library
Trevor Gross a0637597b4 Rollup merge of #130966 - RalfJung:ptr-metadata-const-stable, r=scottmcm
make ptr metadata functions callable from stable const fn

So far this was done with a bunch of `rustc_allow_const_fn_unstable`. But those should be the exception, not the norm. If we are confident we can expose the ptr metadata APIs *indirectly* in stable const fn, we should just mark them as `rustc_const_stable`. And we better be confident we can do that since it's already been done a while ago. ;)

In particular this marks two intrinsics as const-stable: `aggregate_raw_ptr`, `ptr_metadata`. This should be uncontroversial, they are trivial to implement in the interpreter.
Cc `@rust-lang/wg-const-eval` `@rust-lang/lang`
2024-09-30 19:18:51 -04:00
..
2024-08-29 12:13:19 -07:00
2024-07-28 14:46:29 -04:00
2024-09-23 09:21:39 -07:00
2024-09-24 14:25:16 -07:00
2024-09-25 17:03:20 -07:00
2024-09-28 11:25:47 -04:00