|
1 | | -load("//cpp:defs.bzl", "cc_component_library", "cpp_wit_bindgen") |
| 1 | +load("//cpp:defs.bzl", "cc_component_library", "cpp_component", "cpp_wit_bindgen") |
2 | 2 |
|
3 | 3 | # WIT bindings generation |
4 | 4 | cpp_wit_bindgen( |
@@ -55,20 +55,15 @@ cc_component_library( |
55 | 55 | # ) |
56 | 56 |
|
57 | 57 | # Main data structures component |
58 | | -# NOTE: Disabled - depends on unimplemented components and missing main source |
59 | | -# cpp_component( |
60 | | -# name = "data_structures_component", |
61 | | -# srcs = ["src/data_structures.cpp"], |
62 | | -# hdrs = ["src/data_structures.h"], |
63 | | -# target_compatible_with = ["@platforms//cpu:wasm32"], |
64 | | -# visibility = ["//visibility:public"], |
65 | | -# wit = "wit/data_structures.wit", |
66 | | -# world = "data-structures", |
67 | | -# deps = [ |
68 | | -# ":hash_table", |
69 | | -# ":memory_pool", |
70 | | -# ], |
71 | | -# ) |
| 58 | +cpp_component( |
| 59 | + name = "data_structures_component", |
| 60 | + srcs = ["src/data_structures.cpp"], |
| 61 | + hdrs = ["src/data_structures.h"], |
| 62 | + target_compatible_with = ["@platforms//cpu:wasm32"], |
| 63 | + visibility = ["//visibility:public"], |
| 64 | + wit = "wit/data_structures.wit", |
| 65 | + world = "data-structures-world", |
| 66 | +) |
72 | 67 |
|
73 | 68 | # Performance benchmark |
74 | 69 | # NOTE: Disabled - cc_binary cannot depend on WebAssembly component libraries |
|
0 commit comments