summary refs log tree commit diff
path: root/src/rt/rust_crate_cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_crate_cache.cpp')
-rw-r--r--src/rt/rust_crate_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_crate_cache.cpp b/src/rt/rust_crate_cache.cpp
index e09e2db9954..953430beb68 100644
--- a/src/rt/rust_crate_cache.cpp
+++ b/src/rt/rust_crate_cache.cpp
@@ -16,7 +16,8 @@ rust_crate_cache::get_type_desc(size_t size,
         return td;
     }
     DLOG(sched, cache, "rust_crate_cache::get_type_desc miss");
-    td = (type_desc*) sched->kernel->malloc(sizeof(type_desc) + keysz);
+    td = (type_desc*) sched->kernel->malloc(sizeof(type_desc) + keysz,
+                                            "crate cache typedesc");
     if (!td)
         return NULL;
     // By convention, desc 0 is the root descriptor.