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

move parse_cfgspecs to rustc_interface #65595

Merged
merged 1 commit into from
Oct 20, 2019
Merged

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Oct 19, 2019

Part of #65324.

r? @Mark-Simulacrum

use crate::session::search_paths::SearchPath;
extern crate getopts;

use crate::interface::parse_cfgspecs;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

(This file has to be moved because of this dependency.)

@Centril
Copy link
Contributor Author

Centril commented Oct 19, 2019

cc @petrochenkov

@Mark-Simulacrum
Copy link
Member

r=me if this strictly moves the code (no changes) -- it's practically impossible to tell if this is the case, though it seems to be.

@Mark-Simulacrum
Copy link
Member

For the future the best way I know of to make this sort of change reviewable is to have one commit which prepares and is strictly a move and then a second commit which fixes up the previous one -- this way the diff can be reviewed as strictly the fixup changes.

@Mark-Simulacrum Mark-Simulacrum added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 19, 2019
@Centril
Copy link
Contributor Author

Centril commented Oct 19, 2019

@bors r=Mark-Simulacrum

@bors
Copy link
Collaborator

bors commented Oct 19, 2019

📌 Commit d945f98 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 19, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 19, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 20, 2019
bors added a commit that referenced this pull request Oct 20, 2019
Rollup of 6 pull requests

Successful merges:

 - #64996 (Inline `ptr::null(_mut)` even in debug builds)
 - #65551 (Avoid realloc in `CString::new`)
 - #65593 (add test for calling non-const fn)
 - #65595 (move `parse_cfgspecs` to `rustc_interface`)
 - #65600 (Remove unneeded `ref` from docs)
 - #65602 (Fix plural mistake in emitter.rs)

Failed merges:

r? @ghost
@bors bors merged commit d945f98 into rust-lang:master Oct 20, 2019
@Centril Centril deleted the cfgspecs branch October 20, 2019 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants