Fix type checking for anonymous functions
This commit is contained in:
8
build.sh
8
build.sh
@@ -1,16 +1,18 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
./clean.sh
|
||||
|
||||
mkdir -p out
|
||||
|
||||
dotnet build src/lang/Nub.Lang.CLI
|
||||
|
||||
nub example > out/out.qbe
|
||||
nub example > out/out.ssa
|
||||
|
||||
nasm -g -felf64 src/runtime/runtime.asm -o out/runtime.o
|
||||
nasm -g -felf64 src/runtime/core/syscall.asm -o out/syscall.o
|
||||
|
||||
qbe out/out.qbe > out/out.s
|
||||
qbe out/out.ssa > out/out.s
|
||||
|
||||
gcc -c -g out/out.s -o out/out.o
|
||||
gcc -nostartfiles -o out/program out/runtime.o out/syscall.o out/out.o
|
||||
gcc -nostartfiles -o out/program out/runtime.o out/syscall.o out/out.o -no-pie
|
||||
Reference in New Issue
Block a user