From 06a3e90fce0c20cba383c4508cfcc0635dd2321a Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Sat, 3 Oct 2026 21:45:31 -0500 Subject: --- rust/asm/build.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 rust/asm/build.sh (limited to 'rust/asm/build.sh') diff --git a/rust/asm/build.sh b/rust/asm/build.sh new file mode 100755 index 0000000..0d51849 --- /dev/null +++ b/rust/asm/build.sh @@ -0,0 +1,5 @@ +#!/bin/sh +mkdir -p bin +cc -c main_aarch64.S -o bin/asm.o +ar rcs bin/libasm.a bin/asm.o +rustc --edition 2024 main.rs -L bin -l static=asm --out-dir bin -- cgit v1.2.3