drop even more libc functions

This commit is contained in:
2025-11-22 18:41:35 +01:00
parent ce54d1b560
commit 06c979f177
8 changed files with 58 additions and 30 deletions

View File

@@ -106,8 +106,7 @@ section .text
);
// take that rustfmt
for name in "malloc,realloc,free,snprintf,system,gettimeofday,send,write,read,close,getchar,gethostbyname".split(",")
{
for name in "malloc,realloc,free,snprintf,system,gethostbyname".split(",") {
emit!(&mut self.output, "extern {}", name);
emit!(&mut self.output, "c.{} equ {}", name, name);
}