Support Rust version 1.73 on Windows. This changes how the Haskell code is linked against Rust libraries to use dynamic (rather than static) linking on Windows.
Changes
The smart_contract_execution_engine static library is no longer copied to lib, and is removed if already present.
The smart_contract_execution_engine.dll is copied to the install directory in a post-copy hook, to ensure that it is available when binaries and tests are run.
The DLLs included in the installer are changed to include the DLLs sha_2.dll, concordium_base.dll and smart_contract_execution_engine.dll. libunwind.dll is no longer required.
Checklist
[ ] My code follows the style of this project.
[ ] The code compiles without warnings.
[ ] I have performed a self-review of the changes.
[ ] I have documented my code, in particular the intent of the
hard-to-understand areas.
Purpose
Support Rust version 1.73 on Windows. This changes how the Haskell code is linked against Rust libraries to use dynamic (rather than static) linking on Windows.
Changes
smart_contract_execution_engine
static library is no longer copied tolib
, and is removed if already present.smart_contract_execution_engine.dll
is copied to the install directory in a post-copy hook, to ensure that it is available when binaries and tests are run.sha_2.dll
,concordium_base.dll
andsmart_contract_execution_engine.dll
.libunwind.dll
is no longer required.Checklist