about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_shape.cpp')
-rw-r--r--src/rt/rust_shape.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp
index c4d9eb6a5a4..bd388ffff82 100644
--- a/src/rt/rust_shape.cpp
+++ b/src/rt/rust_shape.cpp
@@ -555,8 +555,6 @@ shape_cmp_type(int8_t *result, const type_desc *tydesc,
 extern "C" void
 shape_log_type(const type_desc *tydesc, uint8_t *data, uint32_t level) {
     rust_task *task = rust_scheduler::get_task();
-    if (task->sched->log_lvl < level)
-        return;     // TODO: Don't evaluate at all?
 
     shape::arena arena;
     shape::type_param *params =