From e9396311e7b2db61fb6fa675623eb8a0d4f66950 Mon Sep 17 00:00:00 2001 From: Abdulmujeeb Raji Date: Sun, 19 Jan 2025 19:28:12 +0000 Subject: [PATCH] clean build script, remove builtins.c reference --- bastd.c | 1 - bastd/builtins.c | 1 - bastd/examples/fib_slice.c | 2 +- build.bat | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 bastd/builtins.c diff --git a/bastd.c b/bastd.c index 2f6cd99..26b5a47 100644 --- a/bastd.c +++ b/bastd.c @@ -203,7 +203,6 @@ typedef U8 B8; // Includes #include "bastd/os.c" #include "bastd/memory.c" -#include "bastd/builtins.c" #include "bastd/string.c" #endif //BASTD_C \ No newline at end of file diff --git a/bastd/builtins.c b/bastd/builtins.c deleted file mode 100644 index 2531c4d..0000000 --- a/bastd/builtins.c +++ /dev/null @@ -1 +0,0 @@ -// Premade generics used in the codebase \ No newline at end of file diff --git a/bastd/examples/fib_slice.c b/bastd/examples/fib_slice.c index b8eff11..c74bcd1 100644 --- a/bastd/examples/fib_slice.c +++ b/bastd/examples/fib_slice.c @@ -9,7 +9,7 @@ int main(void) { - m_Buddy buddy = m_Buddy_create(os_alloc(2 * GIGA), 2 * GIGA); + m_Buddy buddy = m_Buddy_create(os_alloc(2 * MEGA), 2 * MEGA); m_Allocator perm = m_BUDDY_ALLOCATOR(buddy); // Slices can be created with a backing array to start with. diff --git a/build.bat b/build.bat index 6f09f3f..a50565a 100644 --- a/build.bat +++ b/build.bat @@ -6,7 +6,7 @@ pushd build REM Uncomment one of these to run an example. Try it! They're great documentation. REM cl /Zi ..\bastd\examples\memory.c REM cl /Zi ..\bastd\examples\fib_slice.c -cl /Zi ..\bastd\examples\string.c +REM cl /Zi ..\bastd\examples\string.c REM This builds your application with debug symbols. REM cl /Zi ..\main.c