-
Notifications
You must be signed in to change notification settings - Fork 385
Miri subtree sync #2550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miri subtree sync #2550
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,3 +275,22 @@ see <https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html>. | |
|
||
With this, you should now have a working development setup! See | ||
[above](#building-and-testing-miri) for how to proceed working on Miri. | ||
|
||
### Syncing the miri subrree | ||
|
||
#### Updating from the rustc repo | ||
|
||
One time setup: | ||
|
||
Add your own miri fork as `miri-your-fork` to the rustc repo: | ||
|
||
``` | ||
git remote add miri-your-fork [email protected]:your-name/miri.git | ||
``` | ||
|
||
Every time: | ||
|
||
``` | ||
ulimit -s 60000 | ||
src/tools/miri/git-subtree.sh push --prefix src/tools/miri/ miri-your-fork miri-subtree-sync | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs to be updated since the script was removed (also IMO the script should be in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yea, I'll put it in |
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to change the stack size to run this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because the script will segfault bash otherwise 😫 See also rust-lang/rust-clippy#5565 where all of this was figured out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't the script do this itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't want to modify it ^^