diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-26 21:35:18 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-26 21:35:18 +0100 |
commit | 2d309a2cff4754c381353a73872a55b20b1a8019 (patch) | |
tree | 543761aa0c2e2c12a1f7a9e27cd3f7a707671bef /asl/memory | |
parent | f19d93a69a0ec5c7a89dcb4c064c984aac90ba71 (diff) |
Separate allocator from memory
Diffstat (limited to 'asl/memory')
-rw-r--r-- | asl/memory/BUILD.bazel | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/asl/memory/BUILD.bazel b/asl/memory/BUILD.bazel index 7305da0..83dcfd0 100644 --- a/asl/memory/BUILD.bazel +++ b/asl/memory/BUILD.bazel @@ -9,15 +9,26 @@ package( cc_library( name = "memory", hdrs = [ - "allocator.hpp", "layout.hpp", "memory.hpp", ], + deps = [ + "//asl/base", + ], + visibility = ["//visibility:public"], +) + +cc_library( + name = "allocator", + hdrs = [ + "allocator.hpp", + ], srcs = [ "allocator.cpp", ], deps = [ "//asl/base", + "//asl/memory", ], visibility = ["//visibility:public"], ) |