diff options
| author | bors <bors@rust-lang.org> | 2025-06-30 11:24:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-30 11:24:47 +0000 |
| commit | ad3b7257615c28aaf8212a189ec032b8af75de51 (patch) | |
| tree | c0486ad79f8ff9cc1eaba31013d66496bf3686c6 /compiler/rustc_const_eval/src/interpret/mod.rs | |
| parent | f19142044f270760ce0ebc03b2c3a44217d8703d (diff) | |
| parent | d0bb9a73aa51322476a7efbfc9cd010f788932bb (diff) | |
| download | rust-ad3b7257615c28aaf8212a189ec032b8af75de51.tar.gz rust-ad3b7257615c28aaf8212a189ec032b8af75de51.zip | |
Auto merge of #142839 - oli-obk:denullarification, r=RalfJung,celinval
Stop backends from needing to support nullary intrinsics And then remove our infrastructure special casing them. Further improvements can now be done to them by avoiding the intermediate ConstValue step, but let's leave that to follow up work r? `@RalfJung`
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs index f5792aba207..f8b3c92debb 100644 --- a/compiler/rustc_const_eval/src/interpret/mod.rs +++ b/compiler/rustc_const_eval/src/interpret/mod.rs @@ -29,7 +29,6 @@ pub use self::intern::{ HasStaticRootDefId, InternKind, InternResult, intern_const_alloc_for_constprop, intern_const_alloc_recursive, }; -pub(crate) use self::intrinsics::eval_nullary_intrinsic; pub use self::machine::{AllocMap, Machine, MayLeak, ReturnAction, compile_time_machine}; pub use self::memory::{AllocInfo, AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind}; use self::operand::Operand; |
