You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the NIF compilation takes an especially long time, I find myself wishing that my CI workflow didn't have to do a final mix compile --force prior to mix rustler_precompiled.download.
As far as I can tell, all that's actually necessary at that point for rustler_precompiled.download to do its job, writing the checksums file, is for the metadata to be built and written. Normally that's done by build_metadata/1 when compiling.
Actually building the NIFs again at that point doesn't seem to be necessary. Is it?
Would it be possible to just build and write the metadata without going through the entire compilation?
The text was updated successfully, but these errors were encountered:
I don't think we can build the metadata from outside the build of the module. But how do you change the config in a way that needs to rebuild the metadata?
When the NIF compilation takes an especially long time, I find myself wishing that my CI workflow didn't have to do a final
mix compile --force
prior tomix rustler_precompiled.download
.As far as I can tell, all that's actually necessary at that point for
rustler_precompiled.download
to do its job, writing the checksums file, is for the metadata to be built and written. Normally that's done bybuild_metadata/1
when compiling.Actually building the NIFs again at that point doesn't seem to be necessary. Is it?
Would it be possible to just build and write the metadata without going through the entire compilation?
The text was updated successfully, but these errors were encountered: