diff options
| author | Stypox <stypox@pm.me> | 2025-07-05 11:13:04 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-07-08 15:24:55 +0200 |
| commit | 07143afee43a4b516ca446e5e49570411043dfdb (patch) | |
| tree | 5f9ddb4682a4bbcb872eed832a597e034cbed329 /compiler/rustc_const_eval/src/interpret/mod.rs | |
| parent | c4bf37d35824cf22dade0c1c4595186a29a8714d (diff) | |
| download | rust-07143afee43a4b516ca446e5e49570411043dfdb.tar.gz rust-07143afee43a4b516ca446e5e49570411043dfdb.zip | |
Replace TRACING_ENABLED with enter_trace_span()
Hopefully this will make tracing calls be optimized out properly when tracing is disabled
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, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs index 8303f891f98..2fc372dd019 100644 --- a/compiler/rustc_const_eval/src/interpret/mod.rs +++ b/compiler/rustc_const_eval/src/interpret/mod.rs @@ -37,6 +37,7 @@ pub use self::place::{MPlaceTy, MemPlaceMeta, PlaceTy, Writeable}; use self::place::{MemPlace, Place}; pub use self::projection::{OffsetMode, Projectable}; pub use self::stack::{Frame, FrameInfo, LocalState, ReturnContinuation, StackPopInfo}; +pub use self::util::EnteredTraceSpan; pub(crate) use self::util::create_static_alloc; pub use self::validity::{CtfeValidationMode, RangeSet, RefTracking}; pub use self::visitor::ValueVisitor; |
