File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,16 @@ wd_cc_library(
139139 name = "worker-modules" ,
140140 srcs = ["worker-modules.c++" ],
141141 hdrs = ["worker-modules.h" ],
142+ implementation_deps = [
143+ "//src/pyodide:pyodide_static" ,
144+ "//src/workerd/api:pyodide" ,
145+ "//src/workerd/api/node" ,
146+ ],
142147 visibility = ["//visibility:public" ],
143148 deps = [
144149 ":io" ,
145- "//src/pyodide:pyodide_static" ,
146150 "//src/pyodide:python-entrypoint" ,
147- "//src/workerd/api:pyodide" ,
148151 "//src/workerd/api:rtti" ,
149- "//src/workerd/api/node" ,
150152 "//src/workerd/jsg" ,
151153 ],
152154)
Original file line number Diff line number Diff line change 44
55#pragma once
66
7+ #include < workerd/jsg/jsg.h>
78#include < workerd/jsg/memory.h>
8- #include < workerd/jsg/promise.h>
99#include < workerd/jsg/struct.h>
1010
1111#include < concepts>
Original file line number Diff line number Diff line change @@ -3003,6 +3003,7 @@ inline Value SelfRef::asValue(Lock& js) const {
30033003
30043004// clang-format off
30053005// These includes are needed for the JSG type glue macros to work.
3006+ #include " promise.h"
30063007#include " modules.h"
30073008#include " resource.h"
30083009#include " jsvalue.h"
Original file line number Diff line number Diff line change 77#include < workerd/jsg/function.h>
88#include < workerd/jsg/modules.capnp.h>
99#include < workerd/jsg/observer.h>
10- #include < workerd/jsg/promise.h>
1110#include < workerd/util/sentry.h>
1211#include < workerd/util/thread-scopes.h>
1312
1817
1918namespace workerd ::jsg {
2019
20+ template <typename T>
21+ class Promise ;
22+
2123enum class InstantiateModuleOptions {
2224 // Allows pending top-level await in the module when evaluated. Will cause
2325 // the microtask queue to be drained once in an attempt to resolve those.
You can’t perform that action at this time.
0 commit comments