summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2022-12-31 13:34:02 -0800
committeriximeow <me@iximeow.net>2022-12-31 15:07:23 -0800
commit666a51a58afa49b34d3669505ecd3b19bfa7db99 (patch)
tree9ef026da8ca917c557eae9a628a7fe8fbaa0c8d0
parent95ab24f2b34b8d11296350129589bc314aacf482 (diff)
add goodfileno-gods-no-
-rw-r--r--goodfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/goodfile b/goodfile
new file mode 100644
index 0000000..c9e521e
--- /dev/null
+++ b/goodfile
@@ -0,0 +1,18 @@
+-- build/test/evaluation via https://git.iximeow.net/build-o-tron
+
+if not Build.environment.has("rustup")
+then
+ Build.error("i don't know i want to handle dependencies yet")
+end
+
+Build.run({"cargo", "build"}, {step="build"})
+Build.run({"cargo", "test"}, {step="test", name="test stdlib/fmt"})
+Build.run({"cargo", "run", "--", "--regs", "rax=4,rcx=5,rip=0x123456789a,eflags=0x206", "03c133c9"})
+
+-- how long does it take to actually run this thing?
+bench_start = Build.now_ms()
+
+Build.run({"./yaxeval", "--regs", "rax=4,rcx=5,rip=0x123456789a,eflags=0x206", "03c133c9"}, {cwd="target/debug"})
+
+bench_end = Build.now_ms()
+Build.metric("simple runtime (ms)", bench_end - bench_start)