test.bin: test.rs as0.o rustc -Clink-arg=-fuse-ld=mold -Clink-arg=as0.o --edition=2024 --test -g $< -o $@ as0.o: as0.asm nasm -g -f elf64 -o as0.o as0.asm test: test.bin ./test.bin as0: as0.o ld -m elf_x86_64 -e _entry_as0 -o as0 as0.o print_table: as0.o ld -m elf_x86_64 -e _entry_print_table -o print_table as0.o clean: rm -f as0.o test.bin as0 print_table