These packages are only needed while building in the sandbox switch and are not costly to re-create every time. This eliminate bugs due to outdated persisted data.
'Sandbox_compiler_package' is rewritten in the "with_resource" style to accomodate the new 'with_sandbox_compiler_repo' function. This remove the tedious 'deinit' code and the need to add more book keeping for the new temporary directory.
Might fix https://github.com/tarides/ocaml-platform-installer/issues/130
These packages are only needed while building in the sandbox switch and are not costly to re-create every time. This eliminate bugs due to outdated persisted data.
'Sandbox_compiler_package' is rewritten in the "with_resource" style to accomodate the new 'with_sandbox_compiler_repo' function. This remove the tedious 'deinit' code and the need to add more book keeping for the new temporary directory.