aboutsummaryrefslogtreecommitdiff
path: root/src/userland.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/userland.cpp')
-rw-r--r--src/userland.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/userland.cpp b/src/userland.cpp
new file mode 100644
index 0000000000..25b1492290
--- /dev/null
+++ b/src/userland.cpp
@@ -0,0 +1,10 @@
+// This file is a shim for zig1. The real implementations of these are in
+// src-self-hosted/stage1.zig
+
+#include "userland.h"
+
+void stage2_translate_c(void) {}
+void stage2_zen(const char **ptr, size_t *len) {
+ *ptr = nullptr;
+ *len = 0;
+}