File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1- 7.5 .0
1+ 7.6 .0
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ wd_cc_library(
9595 "modules.h" ,
9696 "rtti.h" ,
9797 "//src/pyodide:generated/pyodide_extra.capnp.h" ,
98- "//src/workerd/server:workerd.capnp.h" ,
9998 ],
10099 visibility = ["//visibility:public" ],
101100 deps = [
@@ -111,7 +110,6 @@ wd_cc_library(
111110 "//src/workerd/api/node" ,
112111 "//src/workerd/io" ,
113112 "//src/workerd/jsg:rtti" ,
114- "//src/workerd/server:workerd_capnp" ,
115113 ],
116114)
117115
Original file line number Diff line number Diff line change @@ -146,7 +146,18 @@ wd_cc_library(
146146 ],
147147)
148148
149- wd_capnp_library (src = "workerd.capnp" )
149+ wd_capnp_library (
150+ src = "workerd.capnp" ,
151+ # Limit visibility to avoid accidental usage – there should be no need to use this outside of
152+ # test-fixture and the workerd binary.
153+ # TODO(cleanup): Resolve exception for api/pyodide by moving affected pyodide code into server
154+ # target. This will allow downstream to not depend on workerd.capnp.
155+ visibility = [
156+ ":__pkg__" ,
157+ "//src/workerd/api:__pkg__" ,
158+ "//src/workerd/tests:__pkg__" ,
159+ ],
160+ )
150161
151162wd_capnp_library (
152163 src = "workerd-meta.capnp" ,
You can’t perform that action at this time.
0 commit comments