diff --git a/src/workerd/api/BUILD.bazel b/src/workerd/api/BUILD.bazel index 61625d9121a..700159290d7 100644 --- a/src/workerd/api/BUILD.bazel +++ b/src/workerd/api/BUILD.bazel @@ -95,6 +95,8 @@ wd_cc_library( ":memory-cache", ":pyodide", ":r2", + "//src/cloudflare", + "//src/node", "//src/pyodide", "//src/pyodide:pyodide_extra_capnp", "//src/workerd/api/node", diff --git a/src/workerd/api/node/BUILD.bazel b/src/workerd/api/node/BUILD.bazel index 1e348768f40..f168df6fdb5 100644 --- a/src/workerd/api/node/BUILD.bazel +++ b/src/workerd/api/node/BUILD.bazel @@ -1,5 +1,4 @@ load("@aspect_rules_js//js:defs.bzl", "js_binary") -load("@bazel_skylib//lib:selects.bzl", "selects") load("//:build/kj_test.bzl", "kj_test") load("//:build/wd_cc_library.bzl", "wd_cc_library") load("//:build/wd_test.bzl", "wd_test") @@ -29,6 +28,7 @@ wd_cc_library( visibility = ["//visibility:public"], deps = [ ":node-core", + "//src/node", "@capnp-cpp//src/kj/compat:kj-brotli", ], ) diff --git a/src/workerd/io/BUILD.bazel b/src/workerd/io/BUILD.bazel index 04032baafd7..f68bc8cd884 100644 --- a/src/workerd/io/BUILD.bazel +++ b/src/workerd/io/BUILD.bazel @@ -106,8 +106,6 @@ wd_cc_library( ":supported-compatibility-date_capnp", ":trace", ":worker-interface", - "//src/cloudflare", - "//src/node", "//src/workerd/api:analytics-engine_capnp", "//src/workerd/api:data-url", "//src/workerd/api:deferred-proxy", diff --git a/src/workerd/jsg/url.c++ b/src/workerd/jsg/url.c++ index b5fe9d79c26..c5791a69651 100644 --- a/src/workerd/jsg/url.c++ +++ b/src/workerd/jsg/url.c++ @@ -2301,6 +2301,6 @@ UrlPattern::UrlPattern(kj::Array components, bool ignoreCase) } // namespace workerd::jsg -const workerd::jsg::Url operator"" _url(const char* str, size_t size) { +const workerd::jsg::Url operator""_url(const char* str, size_t size) { return KJ_ASSERT_NONNULL(workerd::jsg::Url::tryParse(kj::ArrayPtr(str, size))); } diff --git a/src/workerd/server/BUILD.bazel b/src/workerd/server/BUILD.bazel index 58037da488b..9bbfcd29e3f 100644 --- a/src/workerd/server/BUILD.bazel +++ b/src/workerd/server/BUILD.bazel @@ -114,6 +114,8 @@ wd_cc_library( ":alarm-scheduler", ":workerd_capnp", "//deps/rust:runtime", + "//src/cloudflare", + "//src/node", "//src/workerd/api:html-rewriter", "//src/workerd/api:hyperdrive", "//src/workerd/api:memory-cache", diff --git a/src/workerd/server/server-test.c++ b/src/workerd/server/server-test.c++ index 7754ea18d09..1e79f723114 100644 --- a/src/workerd/server/server-test.c++ +++ b/src/workerd/server/server-test.c++ @@ -51,7 +51,7 @@ kj::Own parseConfig(kj::StringPtr text, kj::SourceLocati // This is intended to allow multi-line raw text to be specified conveniently using C++11 // `R"(blah)"` literal syntax, without the need to mess up indentation relative to the // surrounding code. -kj::String operator"" _blockquote(const char* str, size_t n) { +kj::String operator""_blockquote(const char* str, size_t n) { kj::StringPtr text(str, n); // Ignore a leading newline so that `R"(` can be placed on the line before the initial indent. diff --git a/src/workerd/tools/BUILD.bazel b/src/workerd/tools/BUILD.bazel index 2331e0eeee9..27ea9c42e9a 100644 --- a/src/workerd/tools/BUILD.bazel +++ b/src/workerd/tools/BUILD.bazel @@ -18,6 +18,8 @@ cc_ast_dump( "//conditions:default": [], }), deps = [ + "//src/cloudflare", + "//src/node", "//src/workerd/api:html-rewriter", "//src/workerd/api:hyperdrive", "//src/workerd/api:memory-cache",