-
Notifications
You must be signed in to change notification settings - Fork 26
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
Force recompilation or raise better error when target OS changes #52
Comments
After talk with José, we saw that it's not possible to detect this since the error is directly from Erlang. So I'm closing. |
where is native code located at, something like |
Yes, it is stored in the
Makes sense. I think with a separated process and with the metadata file, we could detect that. Probably this wouldn't avoid the error message from Erlang, but we could have a better error. |
This may be on a tangent to this concern, or maybe it's another example of a similar kind of problem: I've been having trouble lately with some of my packages built on the GitHub Actions I get something like:
So in this case, it's not that there's a confusion of the target OS, per se: I'm not sure what--if anything--could be done at compile time to discover this local system incompatibility issue and force a re-compilation preemptively. I'm not necessarily looking for a solution like that either. I'm currently solving my problem a different way. I'm just offering this experience as another possibly-similar scenario to consider. |
It's possible that someone accidentally try to run a project that was compiled for a different
target system.
The text was updated successfully, but these errors were encountered: