force_build
no longer works on non-precompiled targets since 0.5.3
#38
Labels
bug
Something isn't working
Hello! I recently got this bug report on my project that uses
rustler_precompiled
: benhaney/Jsonrs#12Looking into it, I can reproduce the issue with rustler_precompiled 0.5.3, but not with 0.5.2 or earlier.
This seems to be caused by the new
build_metadata/1
function callingtarget/2
, which always returns an error tuple if the current target isn't on the list of supported targets, bubbling all the way back up to the__using__
macro which then throws beforeforce_build
is ever checked.The easiest way I've found to reproduce this is to remove your current target triple from the list of targets that rustler_precompiled is configured to use, then try to force a build.
The text was updated successfully, but these errors were encountered: