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:
parent
9f4128e00b
commit
cbe5cf5d81
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user