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

Windows build call to erlang:system_info(system_architecture) returns "win32" #8767

Closed
harrisi opened this issue Aug 30, 2024 · 1 comment
Closed
Labels
bug Issue is reported as a bug

Comments

@harrisi
Copy link

harrisi commented Aug 30, 2024

Describe the bug
The call to erlang:system_info/1 with system_architecture returns just "win32" on Windows.

To Reproduce

erlang:system_info(system_architecture).

Expected behavior
Ideally it would return a triple like x86_64-pc-windows.

Affected versions
At least 27, but I believe any version where Windows builds work will have this problem.

Additional context
I haven't tried building locally on Windows yet to see if it's only a problem with the provided pre-built binary.

@harrisi harrisi added the bug Issue is reported as a bug label Aug 30, 2024
@garazdawi
Copy link
Contributor

There is some work ongoing in #8142 that I think may solve this issue. Our build system for Windows is currently geared towards calling the architecture win32, so to change it is a rather big endeavour.

I'll close this as we can track it in #8142.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug
Projects
None yet
Development

No branches or pull requests

2 participants