docker: Add conditions to set assert_linkage for Dockerfile.install

ci: Check packages when using test branch.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-11-22 01:54:46 +00:00
parent 11c4cbf54e
commit deb5c65885
3 changed files with 13 additions and 5 deletions

View File

@@ -868,6 +868,12 @@ target "install" {
}
args = {
install_prefix = install_prefix
assert_linkage = (
substr(cargo_profile, 0, 5) == "bench"? "static":
substr(cargo_profile, 0, 7) == "release"? "static":
substr(rust_toolchain, 0, 6) == "stable"? "static":
""
)
}
}