about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index aed3eda7156..dd5d2bd1054 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -75,16 +75,6 @@ void squareroot(double *input, double *output) {
     *output = sqrt(*input);
 }
 
-extern "C" CDECL size_t
-size_of(type_desc *t) {
-  return t->size;
-}
-
-extern "C" CDECL size_t
-align_of(type_desc *t) {
-  return t->align;
-}
-
 extern "C" CDECL void
 leak(void *thing) {
     // Do nothing. Call this with move-mode in order to say "Don't worry rust,