Skip to content
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

Add overview.drawio.svg #1725

Open
wants to merge 2,121 commits into
base: master
Choose a base branch
from
Open

Add overview.drawio.svg #1725

wants to merge 2,121 commits into from

Conversation

sslime336
Copy link
Contributor

draw.io: https://www.drawio.com/

I used to do some notes using these kind of files, they are easy to use and their size is affordable. Since I haven't seen such graphs about the rustc, I did this myself hoping it could be a help for anyone who wants to get to know the arch of the rustc and its workflow.

Currently I've just placed it in src/drawio/overview.drawio as I think this might be a good place to store such kind of files.

You can edit *.drawio by VSCode extension or online:

图片

I'm new to rustc so the overview.drawio might not be entirely correct, and I wish that someone could fix it or add more info about the rustc :-)

lcnr and others added 30 commits October 22, 2022 19:53
* Update `traits/resolution.md`

Co-authored by: @lcnr and @spastorino

* Update src/traits/resolution.md

* Wrapping

* Update src/traits/resolution.md

Co-authored-by: Santiago Pastorino <[email protected]>

Co-authored-by: Santiago Pastorino <[email protected]>
According to rust-lang/rust@8873e33

> Running with --bless causes the push to succeed if there are fixable
formatting changes, but the changes don't make it into the push.
>
> We should have the user rerun with --bless (or x.py fmt) and commit the
changes themselves (they might want to amend a particular commit, for
instance).
Updated Diagnostic text to use the same language used in Subdiagnostic
* Fix some typos.

Co-authored-by: pierwill <[email protected]>
- queries always need a description
- `QueryDescription` isn't just for descriptions (it's actually not for
  descriptions at all now) and always implemented by the macro
- queries are not grouped into categories
Co-authored-by: Tshepang Mbambo <[email protected]>
rust-lang/project-const-generics#21 removed the
link. This replaces it with an issue link mentioned on the design docs.

Signed-off-by: Yuki Okushi <[email protected]>
Updates the location of the `try_mark_green` algorithm from `compiler/rustc_middle/src/dep_graph/graph.rs` to [`compiler/rustc_middle/src/dep_graph/graph.rs`](https://github.com/rust-lang/rust/blob/stable/compiler/rustc_query_system/src/dep_graph/graph.rs#L574) .
`-C incremental` is sound and --keep-stage is not.
Co-authored-by: Noah Lev <[email protected]>
@TaKO8Ki
Copy link
Member

TaKO8Ki commented Jul 10, 2023

I think it's better to convert this file to something like .drawio.svg. By doing so, we can view the diagram on GitHub. The SVG file is editable on draw.io and can be embedded on Github.

ref:

@sslime336
Copy link
Contributor Author

Cool, first time knowing that, thanks :-)

@sslime336 sslime336 changed the title Add overview.drawio Add overview.drawio.svg Jul 10, 2023
@jieyouxu jieyouxu added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Oct 8, 2024
@jieyouxu jieyouxu added T-compiler Relevant to compiler team A-compiler-architecture Area: high-level compiler architecture A-visualizations Area: visualizations labels Nov 4, 2024
@Kobzol
Copy link
Contributor

Kobzol commented Jan 5, 2025

Sorry, due to me messing up a git operation, we sadly had to force-push the whole commit history of rustc-dev-guide :( If you'd like to update this pull request, you will have to rebase it in a special way onto the new commit history (the new master):

git fetch origin --all
git checkout <pr-branch>
git rebase --onto origin/master origin/master-old
git push --force-with-lease

More context can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiler-architecture Area: high-level compiler architecture A-visualizations Area: visualizations S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content T-compiler Relevant to compiler team
Projects
None yet
Development

Successfully merging this pull request may close these issues.