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

Update source code layout in src/ #12515

Closed
wants to merge 1 commit into from

Conversation

papanikge
Copy link
Contributor

I included the new modules that moved from extra,
and any other undocumented folders.

I'm new to rust, so I don't know if I'm correct to all the folder descriptions.

@@ -10,6 +10,21 @@ Source layout:
| `libgreen/` | The M:N runtime library |
| `libnative/` | The 1:1 runtime library |
| `libsyntax/` | The Rust parser and pretty-printer |
| `libarena/` | The memory allocator |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a small nit, this isn't quite the memory allocator but rather just a memory allocator. This is not used by default, it's meant for more specialized use cases.

@alexcrichton
Copy link
Member

Thanks for doing this!

@papanikge
Copy link
Contributor Author

I added/corrected the things you mentioned.
Cheers.

@alexcrichton
Copy link
Member

Could you squash the two commits together as well? Other than that this looks good to go for me.

with the new modules that moved from extra,
and with other undocumented folders.
also add a note about potential changes.
@papanikge
Copy link
Contributor Author

Done.

@bors bors closed this in 4243cad Feb 25, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
fix: Pass the build data to rustc_private crates

With this all proc-macros should resolve in rustc now when setting up the build script running command properly.
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 2, 2024
fix `for x in y unsafe { }`

fixes rust-lang#12514

----

changelog: [`needless_for_each`]: unsafe block in for loop body suggestion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants