We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如,go build 那块,-a 参数,我在mac下,从 go1.1 到 1.4,执行结果跟你说的完全不一样。
而且,你对 -a 的解释:强行对所有涉及到的代码包(包括标准库中的代码包)进行重新构建,即使它们已经是最新的了。
我的理解,-a 只是说会重新编译你项目的文件,不会编译标准库的,要不然有点乱了,实际上,我试验了,也不会编译标准库
The text was updated successfully, but these errors were encountered:
是基于1.3版本的
Sorry, something went wrong.
你可以改动下标准库中的代码试验一下?
go build -a -work -n
经我和@polaris1119 的联合试验和确认,在Go 1.4.x版本中,-a标签不会导致标准库中代码包的重新编译。而在Go 1.3.x版本中,其行为恰恰相反。
-a
No branches or pull requests
比如,go build 那块,-a 参数,我在mac下,从 go1.1 到 1.4,执行结果跟你说的完全不一样。
而且,你对 -a 的解释:强行对所有涉及到的代码包(包括标准库中的代码包)进行重新构建,即使它们已经是最新的了。
我的理解,-a 只是说会重新编译你项目的文件,不会编译标准库的,要不然有点乱了,实际上,我试验了,也不会编译标准库
The text was updated successfully, but these errors were encountered: