diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-03 21:45:31 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-03 21:45:31 -0500 |
| commit | 06a3e90fce0c20cba383c4508cfcc0635dd2321a (patch) | |
| tree | 2926c417a3b2bcd70c9ebb81e37e106a0bc3838b /rust/asm/build.sh | |
| parent | e7d43536dee633f695e6f9932dd594620722feb3 (diff) | |
| download | demos-06a3e90fce0c20cba383c4508cfcc0635dd2321a.tar.gz demos-06a3e90fce0c20cba383c4508cfcc0635dd2321a.zip | |
Diffstat (limited to 'rust/asm/build.sh')
| -rwxr-xr-x | rust/asm/build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
