Skip to content

Commit 984b9c5

Browse files
committed
Improve sync instructions
1 parent 6f858a2 commit 984b9c5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,17 @@ Then, do a sync with this command:
208208

209209
```bash
210210
PATH="$HOME/bin:$PATH" ~/bin/git-subtree push -P compiler/rustc_codegen_gcc/ ../rustc_codegen_gcc/ sync_branch_name
211+
cd ../rustc_codegen_gcc
212+
git checkout master
213+
git pull
214+
git checkout sync_branch_name
215+
git merge master
211216
```
212217

218+
TODO: write a script that does the above.
219+
220+
https://rust-lang.zulipchat.com/#narrow/stream/301329-t-devtools/topic/subtree.20madness/near/258877725
221+
213222
### How to use [mem-trace](https://github.com/antoyo/mem-trace)
214223

215224
`rustc` needs to be built without `jemalloc` so that `mem-trace` can overload `malloc` since `jemalloc` is linked statically, so a `LD_PRELOAD`-ed library won't a chance to intercept the calls to `malloc`.

0 commit comments

Comments
 (0)