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

Link to internal rustdocs#100 #108

Merged
merged 3 commits into from
Apr 6, 2018

Conversation

rajcspsg
Copy link
Contributor

@rajcspsg rajcspsg commented Apr 4, 2018

This PR is for issue #100 @mark-i-m @Michael-F-Bryan

@@ -87,7 +87,7 @@ in [librustc_back](https://github.com/rust-lang/rust/tree/master/src/librustc_ba
(which also contains some things used primarily during translation).

All these phases are coordinated by the driver. To see the exact sequence, look
at the `compile_input` function in [librustc_driver/driver.rs](https://github.com/rust-lang/rust/tree/master/src/librustc_driver/driver.rs).
at the `compile_input` function in [librustc_driver/driver.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/driver/).
Copy link
Contributor

Choose a reason for hiding this comment

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

@nikomatsakis
Copy link
Contributor

Thank you for starting on this! Super exciting.

@nikomatsakis
Copy link
Contributor

I went ahead and adjusted my nit. =) Assuming travis is happy, will merge.

@mark-i-m
Copy link
Member

mark-i-m commented Apr 5, 2018

A couple of offending long lines:

src/appendix-stupid-stats.md
92 : command-line arguments, maintaining compilation state (primarily in the Session),
93 : and calling the appropriate code to run each phase of compilation. It also handles

@rajcspsg rajcspsg force-pushed the link_to_rustdocs#100 branch 2 times, most recently from 9bdf929 to 70f3c27 Compare April 5, 2018 19:46
To create a drop-in compiler replacement or a compiler replacement,
we leave most of compilation alone and customise the driver using its APIs.

[compile-input]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/driver/fn.compile_input.html

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mark-i-m @nikomatsakis Please let me know if these changes looks fine.

Copy link
Member

Choose a reason for hiding this comment

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

👍 LGTM

@mark-i-m mark-i-m merged commit f25f298 into rust-lang:master Apr 6, 2018
@mark-i-m
Copy link
Member

mark-i-m commented Apr 6, 2018

Thanks!

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.

3 participants