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

Warn or err on Windows if compiled with the "wrong" target_env #405

Open
filmor opened this issue Nov 16, 2021 · 0 comments
Open

Warn or err on Windows if compiled with the "wrong" target_env #405

filmor opened this issue Nov 16, 2021 · 0 comments

Comments

@filmor
Copy link
Member

filmor commented Nov 16, 2021

The Windows binaries distributed on erlang.org are compiled with MSVC, which leads to problems if a "gnu" (so "MinGW") environment is used, which is the default if people install Rust without having a Microsoft compiler toolchain installed.

It might make sense to ask the user for explicit confirmation (via a "force" environment variable?) at build time if a "windows-gnu" toolchain is used.

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

No branches or pull requests

2 participants