diff dowa/BUILD @ 71:75de5903355c

Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
author June Park <parkjune1995@gmail.com>
date Sun, 28 Dec 2025 20:34:22 -0800
parents 551d9fc0a2ba
children 35b1abc37969
line wrap: on
line diff
--- a/dowa/BUILD	Thu Dec 25 20:10:46 2025 -0800
+++ b/dowa/BUILD	Sun Dec 28 20:34:22 2025 -0800
@@ -1,6 +1,13 @@
 load("@rules_cc//cc:cc_library.bzl", "cc_library")
+load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
 load("@rules_cc//cc:cc_test.bzl", "cc_test")
 
+cc_library(
+    name = "stb_ds",
+    hdrs = ["stb_ds.h"],
+    visibility = ["//visibility:public"],
+)
+
 # TODO: Fix so that we can just define in the header instead of defining in the cc_library because this is ass.
 cc_library(
   name = "dowa_generic",
@@ -10,7 +17,8 @@
   ],
   hdrs = [
     "dowa.h",
-    "dowa_internal.h"
+    "dowa_internal.h",
+    "stb_ds.h"
   ],
   visibility = ["//visibility:public"],
 )
@@ -23,7 +31,7 @@
   ],
   hdrs = [
     "dowa.h",
-    "dowa_internal.h"
+    "dowa_internal.h",
   ],
   copts = ["-DDIRECTORY"],
   visibility = ["//visibility:public"],
@@ -37,6 +45,7 @@
   data = glob([
       "test_folder/**",
   ]),
-  copts = ["-fsanitize=address", "-g"],
-  linkopts = ["-fsanitize=address"],
+  # TODO: Fix this lmao?
+  # copts = ["-fsanitize=address", "-g"],
+  # linkopts = ["-fsanitize=address"],
 )