buildRustCrate: don't swallow build.rs output

This is executed curing the build, and usually quite helpful in telling
you how the build failed, if it failed.

For example, when linking against system libraries, it shows which
system lib could not be discovered, the pkg-config path used etc.

Not showing it simply removes all this, and trying to parse out the
"important" bits and only show these is probably also brittle.

The output generally isn't that spammy normally, so let's just `tee` it.
This commit is contained in:
Florian Klink 2024-07-05 21:39:08 +03:00
parent 9f4128e00b
commit cbe5cf5d81

View File

@ -195,7 +195,7 @@ in ''
export CARGO_FEATURE_$feature=1
done
target/build/${crateName}/build_script_build > target/build/${crateName}.opt
target/build/${crateName}/build_script_build | tee target/build/${crateName}.opt
)
set +e