harbor run -t openthoughts/tasktrove-swe-rebench-v2-patched-oracle-davidlattimore__wild-777
harbor download openthoughts/tasktrove-swe-rebench-v2-patched-oracle-davidlattimore__wild-777
cd /testbed git clone https://github.com/davidlattimore/wild.git . && git checkout 3accf6ff5e305bd30b0a8f245933d10f8e5ae30e curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y export PATH=/root/.cargo/bin:/usr/local/cargo/bin:$PATH && rustup toolchain install stable && rustup default stable && /root/.cargo/bin/rustc --version && cargo --version export PATH="/root/.cargo/bin:$PATH" && rustup install nightly-x86_64-unknown-linux-gnu export PATH="/root/.cargo/bin:$PATH" && rustup target add --toolchain nightly x86_64-unknown-linux-musl export PATH="/root/.cargo/bin:$PATH" && rustup component add rustc-codegen-cranelift-preview --toolchain nightly export PATH="/root/.cargo/bin:$PATH" && export DEBIAN_FRONTEND=noninteractive && apt-get update -qq export PATH="/root/.cargo/bin:$PATH" && export DEBIAN_FRONTEND=noninteractive && apt-get install -y -qq gcc g++ clang lld curl bubblewrap binutils-aarch64-linux-gnu qemu-user gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-riscv64-linux-gnu git export PATH="/root/.cargo/bin:$PATH" && git submodule update --init --recursive export PATH="/root/.cargo/bin:$PATH" && echo 'rustc_channel = "nightly"' > test-config.toml
WILD_SAVE_DIR/WILD_SAVE_BASE should use Wild's arguments, not the process ones Works fine when the binary is just the linker, but when integrating Wild with some other binary, wrong arguments are saved because of this line: https://github.com/davidlattimore/wild/blob/9644a9f7054c72b5a3f1cd31bac216f217e54056/libwild/src/save_dir.rs#L88
For example, when creating interposer for cc binary with integrated Wild, run-with will contain CC's arguments which is not desired.
cc
run-with