This reverts back to the strategy of copying the actually loaded lib file to a filename unknown to the runtime.
So if the original lib is target/debug/liblib.dylib, the (re-)loaded lib files are target/debug/liblib-hot.0.dylib, target/debug/liblib-hot.1.dylib, ...
This reverts back to the strategy of copying the actually loaded lib file to a filename unknown to the runtime.
So if the original lib is
target/debug/liblib.dylib
, the (re-)loaded lib files aretarget/debug/liblib-hot.0.dylib
,target/debug/liblib-hot.1.dylib
, ...This fixes reloads on macOS arm64 / M1