We do wasm relinking in some cases by default now (eg. in Release config). This breaks in case of Trimming tests run under dotnet-linker-tests, because it cannot find mono-aot-cross. It needs this to essentially invoke:
"$(MonoAotCrossCompilerPath)" --print-icall-table > "$(_WasmIntermediateOutputPath)runtime-icall-table.h"
Wasm relinking has been disabled in this case, for now (#49774). But this needs to be fixed.