Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tasks/scripts/stage-prebuilt-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ build_component_for_arch() {
local current_host_os
local current_host_arch
local binary_path
local cargo_output_dir
local build_rustflags

resolve_component "$component"
Expand Down Expand Up @@ -257,7 +258,8 @@ build_component_for_arch() {
CARGO_INCREMENTAL=0 mise x -- ${cargo_env[@]+"${cargo_env[@]}"} "${cargo_subcommand[@]}" "${args[@]}"
)

binary_path="${ROOT}/target/${target}/release/${binary}"
cargo_output_dir="$(cd "$ROOT" && mise x -- cargo metadata --format-version=1 --no-deps | jq -er '.target_directory')"
binary_path="${cargo_output_dir}/${target}/release/${binary}"
if [[ "$component" == "gateway" ]]; then
"$SCRIPT_DIR/verify-glibc-symbols.sh" 2.28 "$binary_path"
elif [[ "$component" == "supervisor" ]]; then
Expand Down
Loading