about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-07-04 22:17:22 +0200
committerTrevor Gross <tmgross@umich.edu>2025-07-10 03:39:18 -0400
commitf6d38909b4984a172023a555b7faf3d11b87c9de (patch)
tree9aa7d2a6855d4206d4eb9c63db174323a6901285
parentf2b5199f4f3c8abd8bc0fd660717f3d6ec049a76 (diff)
downloadrust-f6d38909b4984a172023a555b7faf3d11b87c9de.tar.gz
rust-f6d38909b4984a172023a555b7faf3d11b87c9de.zip
Add documentation about subtree sync
-rw-r--r--library/compiler-builtins/CONTRIBUTING.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/compiler-builtins/CONTRIBUTING.md b/library/compiler-builtins/CONTRIBUTING.md
index 9f67cfc3157..9ae4f893c60 100644
--- a/library/compiler-builtins/CONTRIBUTING.md
+++ b/library/compiler-builtins/CONTRIBUTING.md
@@ -165,3 +165,12 @@ cargo bench --no-default-features \
 
 [`iai-callgrind-runner`]: https://crates.io/crates/iai-callgrind-runner
 [Valgrind]: https://valgrind.org/
+
+## Subtree synchronization
+
+`compiler-builtins` is included as a [Josh subtree] in the main compiler
+repository (`rust-lang/rust`). You can find a guide on how to create synchronization
+(pull and push) PRs at the [`rustc-dev-guide` page].
+
+[Josh subtree]: https://rustc-dev-guide.rust-lang.org/external-repos.html#josh-subtrees
+[`rustc-dev-guide` page]: https://rustc-dev-guide.rust-lang.org/external-repos.html#synchronizing-a-josh-subtree