about summary refs log tree commit diff
path: root/library/std/src/sys/unix/net.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-12-01 23:46:09 +0100
committerGitHub <noreply@github.com>2020-12-01 23:46:09 +0100
commit8b0c31d492e1b9e98c706ed631dffcc2c72913c5 (patch)
tree779ef561fdc882a918c5f4f9a2aec159b589866d /library/std/src/sys/unix/net.rs
parent4cbda829c00af2c3ac362c979fa97ea90be0be7d (diff)
parent4ed90835615f96f1260c633027bd673cd011ab36 (diff)
downloadrust-8b0c31d492e1b9e98c706ed631dffcc2c72913c5.tar.gz
rust-8b0c31d492e1b9e98c706ed631dffcc2c72913c5.zip
Rollup merge of #79508 - jryans:check-dsymutil-result, r=nagisa
Warn if `dsymutil` returns an error code

This checks the error code returned by `dsymutil` and warns if it failed. It
also provides the stdout and stderr logs from `dsymutil`, similar to the native
linker step.

I tried to think of ways to test this change, but so far I haven't found a good way, as you'd likely need to inject some nonsensical args into `dsymutil` to induce failure, which feels too artificial to me. Also, https://github.com/rust-lang/rust/issues/79361 suggests Rust is on the verge of disabling `dsymutil` by default, so perhaps it's okay for this change to be untested. In any case, I'm happy to add a test if someone sees a good approach.

Fixes https://github.com/rust-lang/rust/issues/78770
Diffstat (limited to 'library/std/src/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions