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

Request: avoid rustc popping up an own window #1403

Closed
LigH-de opened this issue Sep 24, 2019 · 10 comments · Fixed by #1556
Closed

Request: avoid rustc popping up an own window #1403

LigH-de opened this issue Sep 24, 2019 · 10 comments · Fixed by #1556

Comments

@LigH-de
Copy link
Contributor

LigH-de commented Sep 24, 2019

Since you are trying to use sscache for rust builds, an independent console window for rustc occasionally pops up for a very brief time. This is a bit annoying if you want to run the suite in the background while working on other tasks. Also I am not sure if that might be a sign that something failed. Hard for me to track the exact call that causes this popup, but it seems to be rather a cmd or separate window, not mintty.

@wiiaboo
Copy link
Member

wiiaboo commented Sep 24, 2019

Yeah, I've also wanted to fix mintty doing that eventually, but I don't know if there's an option to start in the background.

@LigH-de
Copy link
Contributor Author

LigH-de commented Sep 24, 2019

CMD can run a CLI application in a minimized separate window on purpose, using start /min ... but that seems to me like walking around another corner.

@wiiaboo
Copy link
Member

wiiaboo commented Sep 24, 2019 via email

@1480c1
Copy link
Member

1480c1 commented Sep 24, 2019

I do know that sccache as a --start-server option, maybe that's what you are looking for?

@1480c1
Copy link
Member

1480c1 commented Sep 27, 2019

@LigH-de can you test if the pr with stop the multiple cmd windows popping up?

@LigH-de
Copy link
Contributor Author

LigH-de commented Sep 27, 2019

It does not. I deleted the contents of lib and bin-* in local* before rebuilding. Already building ripgrep let two cmd windows pop up, I noticed one called rustc.

@1480c1
Copy link
Member

1480c1 commented Sep 27, 2019

Hmm

@LigH-de
Copy link
Contributor Author

LigH-de commented Sep 27, 2019

Additional issue with manually starting the sccache server: When the script gets interrupted, the server persists, and there is an error message when running it again that every socket should be used only once.

@1480c1
Copy link
Member

1480c1 commented Sep 27, 2019

hmm again, I need to research more on sccache's side

@1480c1
Copy link
Member

1480c1 commented Jan 2, 2020

mozilla/sccache#514

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants