-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Don't create .msi installer when not building from Windows #141818
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
base: master
Are you sure you want to change the base?
Conversation
WIX toolset works only on Windows hosts.
If that's the case, then disabling it for non-Windows-hosts seems fine I think? |
Well, it disables creation of .msi installers that are officially provided by Rust. So I'm not sure whether it should be a more conscious decision (via the config) or the implication of using non-Windows host is fine. |
I think there should be a config, it sounds surprising that you suddenly get different results with the same config. |
If the host was not Windows-based before, the build would fail (good luck running WIX or .exe files otherwise). Now it would be silently skipped. I don't think that we need a config for this, but the build should fail instead. So if target is Windows, but the host isn't, bootstrap should bail out. |
That would mean #140772 is a no-go in the current form. |
Hmm, I don't see why that should be the case. Do the |
|
Sorry, I'm not sure if I understand that 😅 If the |
In the end they should, to be consistent with other hosts at https://forge.rust-lang.org/infra/other-installation-methods.html |
I'm fine with that, but what I didn't understand is the "for their first release" part. What changes after the first release? How will we be able to create the MSI installers from Linux hosts? |
Sorry for not giving the full context here, I thought I had included it here in the previous comments, but it must have been a different issue/PR/channel. Let me fix that. |
WIX toolset works only on Windows hosts. I'm not sure about the best approach here, maybe it'd be better to keep it enabled regardless of the host system, but make it configurable?
Split out from: #140772