Contact yubihsm2 upstream wrt inability of using MockHSM in release builds
Currently yubihsm's Mock HSM cannot be used with release builds which means we cannot use it in our integration tests.
Upstream should be notified of that use-case and ideally allow building MockHSM even in non-debug builds.
The following discussion from !338 should be addressed:
- [ ] @dvzrv started a [discussion](https://gitlab.archlinux.org/archlinux/signstar/-/merge_requests/338#note_396276):
> ```suggestion:-8+0
> case "$project" in
> nethsm-cli)
> printf "Installing executables of signstar-request-signature\n"
> cargo install --locked --path signstar-request-signature
> printf "Installing executables of %s...\n" "{{ project }}"
> cargo install --locked --all-features --path {{ project }}
> ;;
> signstar-yubihsm2)
> # we need --debug because of mockhsm of signstar-yubihsm which fails to compile
> # in release builds :(
> printf "Installing debug executables of %s...\n" "{{ project }}"
> cargo install --locked --debug --all-features --path {{ project }}
> ;;
> *)
> printf "Installing executables of %s...\n" "{{ project }}"
> cargo install --locked --all-features --path {{ project }}
> ;;
> esac
> ```
>
> This way we only use debug builds for the `signstar-yubihsm2` README and don't slow down the other README tests.
>
> But also, we should contact the yubihsm.rs upstream about this... :smiling_face_with_tear:
issue