x64 does not belong in base - base is intended to be things we can assume everywhere, which explicitly disqualifies x64 by definition.

This commit is contained in:
Ryan Fleury committed 2026-09-21 09:14:11 -07:00
1 parent 48ba845a91
commit 4e4639c2a0
6 files changed
+6 -7

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
#define STB_SPRINTF_DECORATE(name) raddbg_##name
#define STB_SPRINTF_STATIC
#include "third_party/stb/stb_sprintf.h"
#include "third_party/radsort/radsort.h"
////////////////////////////////
//~ rjf: Codebase Keywords
-3
View File
@@ -30,9 +30,6 @@
#include "base_test.c"
#include "base_entry_point.c"
// TODO: move x64 to base layer
#include "x64/x64.c"
#if OS_WINDOWS
# include "win32/base/win32_base.c"
#elif OS_LINUX
-1
View File
@@ -32,7 +32,6 @@
#include "base_test.h"
#include "base_entry_point.h"
#include "x64/x64.h"
#if OS_WINDOWS
# include "win32/base/win32_base.h"
#elif OS_LINUX
+2 -2
View File
@@ -376,8 +376,8 @@
//- rjf: [h]
#include "base/base_inc.h"
#include "x64/x64.h"
#include "win32/win32_inc.h"
#include "linker/hash_table.h"
#include "linker/base_ext/base_bit_array.h"
#include "artifact_cache/artifact_cache.h"
#include "rdi/rdi_local.h"
@@ -438,8 +438,8 @@
//- rjf: [c]
#include "base/base_inc.c"
#include "x64/x64.c"
#include "win32/win32_inc.c"
#include "linker/hash_table.c"
#include "linker/base_ext/base_bit_array.c"
#include "artifact_cache/artifact_cache.c"
#include "rdi/rdi_local.c"
+1 -1
View File
@@ -137,7 +137,7 @@ radsortmovesize( sizeof( (start)[0] ) ), \
//===================================================================================================
// small heap sort - this sort is around 200 bytes compiled - can use directly when size is important
internal RSFORCEINLINE void radheapsortinteral( void * start, size_t len, size_t element_size, is_before_func * is_before, swap_func * swapper )
static RSFORCEINLINE void radheapsortinteral( void * start, size_t len, size_t element_size, is_before_func * is_before, swap_func * swapper )
{
void * left;
void * right;
+2
View File
@@ -20,6 +20,7 @@
////////////////////////////////
#include "base/base_inc.h"
#include "x64/x64_inc.h"
#include "linker/hash_table.h"
#include "linker/lf_hash_table.h"
#include "linker/base_ext/base_bit_array.h"
@@ -103,6 +104,7 @@
#include "torture.h"
#include "base/base_inc.c"
#include "x64/x64_inc.c"
#include "linker/hash_table.c"
#include "linker/lf_hash_table.c"
#include "linker/base_ext/base_bit_array.c"