-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
incr.comp.: Add -C incremental
in addition to -Z incremental
#46751
Conversation
ae8b0d0
to
e6ae17c
Compare
src/librustc/session/config.rs
Outdated
if cg.lto && debugging_opts.incremental.is_some() { | ||
let incremental = match (&debugging_opts.incremental, &cg.incremental) { | ||
(&Some(ref path1), &Some(ref path2)) => { | ||
if path1 == path2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldnt this be a !=
, currently it errors when there is no conflict
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Thanks, @bjorn3.
r=me with a typo fix |
e6ae17c
to
796264b
Compare
@bors: r+ |
📌 Commit 796264b has been approved by |
⌛ Testing commit 796264b with merge b918f0484127ce7076cc9810e85c9e9f856fbf12... |
Might travis be stuck somewhere? The build for i686-gnu hasn't started yet whilst all others are done but according to travis status there is no backlog for linux |
💔 Test failed - status-travis |
@bors: retry
|
…lexcrichton incr.comp.: Add `-C incremental` in addition to `-Z incremental` This PR adds a stable commandline option for invoking incremental compilation. r? @alexcrichton
This PR adds a stable commandline option for invoking incremental compilation.
r? @alexcrichton