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

我应该如何隐藏后台窗体? #361

Closed
3442853561 opened this issue Aug 22, 2016 · 2 comments
Closed

我应该如何隐藏后台窗体? #361

3442853561 opened this issue Aug 22, 2016 · 2 comments

Comments

@3442853561
Copy link

How could I close or hide the DOS windows?
我应该如何隐藏后台窗体?

@bombless
Copy link

bombless commented Sep 4, 2016

参考
http://stackoverflow.com/questions/29763647/how-to-make-a-program-that-does-not-display-the-console-window
rust-lang/rust#29596 (Sorry, wrong link
rust-lang/rfcs#1665 <-- here
我用的是GNU ABI所以比如说编译hello_world的时候用的cargo rustc --bin=hello_world --release -- -Clink-args="-mwindows"

I'm using GNU ABI so I build hello_word with cargo rustc --bin=hello_world --release -- -Clink-args="-mwindows" for example

And if your issue is solved you should close this issue

@bombless
Copy link

bombless commented Sep 7, 2016

https://github.com/rust-lang/cargo/blob/2cda339cc23dda36ac247a34d28adcd30beead00/src/doc/config.md
I hope [build.rustflags] can help with this but it seems that it cannot be optional over build target ...

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

No branches or pull requests

2 participants