clean build script, remove builtins.c reference

This commit is contained in:
Abdulmujeeb Raji 2025-01-19 19:28:12 +00:00
parent 52ea920ff3
commit e9396311e7
Signed by: midnadimple
GPG key ID: EB02C582F8C3962B
4 changed files with 2 additions and 4 deletions

View file

@ -203,7 +203,6 @@ typedef U8 B8;
// Includes // Includes
#include "bastd/os.c" #include "bastd/os.c"
#include "bastd/memory.c" #include "bastd/memory.c"
#include "bastd/builtins.c"
#include "bastd/string.c" #include "bastd/string.c"
#endif //BASTD_C #endif //BASTD_C

View file

@ -1 +0,0 @@
// Premade generics used in the codebase

View file

@ -9,7 +9,7 @@
int int
main(void) 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); m_Allocator perm = m_BUDDY_ALLOCATOR(buddy);
// Slices can be created with a backing array to start with. // Slices can be created with a backing array to start with.

View file

@ -6,7 +6,7 @@ pushd build
REM Uncomment one of these to run an example. Try it! They're great documentation. 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\memory.c
REM cl /Zi ..\bastd\examples\fib_slice.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 This builds your application with debug symbols.
REM cl /Zi ..\main.c REM cl /Zi ..\main.c