-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
cargo build
rebuilds the world after ./mach build
, and vice versa.
#20489
Comments
This is because |
Can we not do that except on automation? |
Yes. |
Ok, I'll send a patch for that. Travis should be enough I guess. |
Avoid ./mach build to clobber the build by default. Fixes #20489. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20491) <!-- Reviewable:end -->
Is there a way to make it so that cargo use the same options as mach instead of trying to make it so mach use cargo options? I get bitten by this pretty often too. |
When I last tried to fix this I hit a wall with rust-lang/cargo#5376 Fixing rust-lang/rust#30783 would remove the need for one of the flags we set. |
And it's annoying because I tend to use them interchangeably, accidentally.
STR:
$ cd servo $ ./mach build -d $ cargo build
The text was updated successfully, but these errors were encountered: