acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

zeroeight/tiny-http

Public
Star9

An HTTP/1.0 server for Linux in x86-64 assembly. No libc; every build starts it and curls it.

History
24 lines·491 B·TOML Raw Blame
1# Verified builds for tiny-http.
2
3[project]
4isa = "x86-64"
5assembler = "nasm"
6target = "Linux x86-64, static ELF"
7
8[[step]]
9name = "assemble"
10run = ["nasm", "-f", "elf64", "-I", "src/", "-o", "build/server.o", "src/server.asm"]
12[[step]]
13name = "link"
14run = ["ld.lld", "-s", "-o", "build/tiny-http", "build/server.o"]
16[[step]]
17name = "serve real requests"
18on = "linux"
19run = ["sh", "test/smoke.sh"]
20expect = "smoke: 3 requests answered"
22[artifact]
23path = "build/tiny-http"
24max_size = 4096