Skip to content

move parse_cfgspecs to rustc_interface - #65595

Merged
bors merged 1 commit into
rust-lang:masterfrom
Centril:cfgspecs
Oct 20, 2019
Merged

move parse_cfgspecs to rustc_interface#65595
bors merged 1 commit into
rust-lang:masterfrom
Centril:cfgspecs

Conversation

@Centril

Copy link
Copy Markdown
Contributor

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

use crate::interface::parse_cfgspecs;

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

cc @petrochenkov

@Mark-Simulacrum

Copy link
Copy Markdown
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
Copy Markdown
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-SimulacrumMark-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
Copy Markdown
ContributorAuthor

@bors r=Mark-Simulacrum

@bors

bors commented Oct 19, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit d945f98 has been approved by Mark-Simulacrum

@borsbors 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
@CentrilCentril mentioned this pull request Oct 19, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 20, 2019
@CentrilCentril mentioned 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:masterOct 20, 2019
@Centril
Centril deleted the cfgspecs branch October 20, 2019 18:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@Centril@Mark-Simulacrum@bors