File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed
Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 11workspace (name = "workerd" )
22
3- # ========================================================================================
4- # Rust bootstrap
5-
6- load ("//:build/http.bzl" , "http_archive" )
7-
8- http_archive (
9- name = "workerd-cxx" ,
10- repo_mapping = {"@crates.io" : "@crates_vendor" },
11- sha256 = "7ddce8e81d0b81adf6f07f18376a6fea9dca42e6b03b2fcf703c62196c270ad0" ,
12- strip_prefix = "cloudflare-workerd-cxx-916f0e7" ,
13- type = "tgz" ,
14- url = "https://github.com/cloudflare/workerd-cxx/tarball/916f0e7be8f1d43fe5ece1b72edd3c5844243d7b" ,
15- )
16-
173load ("//build/deps:dep_pyodide.bzl" , "dep_pyodide" )
184
195dep_pyodide ()
Original file line number Diff line number Diff line change @@ -53,3 +53,20 @@ new_local_repository(
5353 build_file = "@workerd//deps/rust:BUILD.lolhtml",
5454 path = "empty",
5555)
56+
57+ # workerd-cxx
58+ http = use_extension("@//:build/exts/http.bzl", "http")
59+
60+ inject_repo(
61+ http,
62+ **{"crates.io": "crates_vendor"}
63+ )
64+
65+ http.archive(
66+ name = "workerd-cxx",
67+ sha256 = "7ddce8e81d0b81adf6f07f18376a6fea9dca42e6b03b2fcf703c62196c270ad0",
68+ strip_prefix = "cloudflare-workerd-cxx-916f0e7",
69+ type = "tgz",
70+ url = "https://github.com/cloudflare/workerd-cxx/tarball/916f0e7be8f1d43fe5ece1b72edd3c5844243d7b",
71+ )
72+ use_repo(http, "workerd-cxx")
You can’t perform that action at this time.
0 commit comments