summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-08-24 08:46:57 -0600
committerGitHub <noreply@github.com>2023-08-24 08:46:57 -0600
commit0379e1082ceebf722193ebcca417c68fc61813cb (patch)
treed8b8c3b12f4570bb9b351c394e18620c1a6ada40 /.cargo
parentf9beb928186f4edb07e07c96b677f14e75c428bb (diff)
chore: Add a local-build.toml to make downstream packaging from sourc… (#20236)
Supercedes #20230 Assists with https://github.com/Homebrew/homebrew-core/pull/140079 ``` # To run a build using a local tree: # # 0. Check out these repositories as siblings: # # - https://github.com/denoland/deno # - https://github.com/denoland/deno_core # - https://github.com/denoland/rusty_v8 # # 1. From `deno`, run: cargo --config .cargo/local-build.toml build ```
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/local-build.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.cargo/local-build.toml b/.cargo/local-build.toml
new file mode 100644
index 000000000..a2d68e4f2
--- /dev/null
+++ b/.cargo/local-build.toml
@@ -0,0 +1,15 @@
+# To run a build using a local tree:
+#
+# 0. Check out these repositories as siblings:
+#
+# - https://github.com/denoland/deno
+# - https://github.com/denoland/deno_core
+# - https://github.com/denoland/rusty_v8
+#
+# 1. From `deno`, run: cargo --config .cargo/local-build.toml build
+
+[patch.crates-io]
+deno_core = { path = "../deno_core/core" }
+deno_ops = { path = "../deno_core/ops" }
+serde_v8 = { path = "../deno_core/serde_v8" }
+v8 = { path = "../rusty_v8" }