Commit ec70ea3
authored
Unrolled build for #158563
Rollup merge of #158563 - PaulDance:patches/fix-win7-hostname_smoketest, r=JohnTitor
Test(lib/net): Fix `hostname_smoketest` for Win7
This test currently fails under both x86 and x86_64 Win7 on:
```
thread 'net::tests::hostname_smoketest' (2304) panicked at library/std/src/net/tests.rs:46:14:
called `Result::unwrap()` on an `Err` value: Error { kind: Unsupported, message: "operation not supported on this platform" }
```
This is simply because the feature was made to be effectively disabled under these targets in #150905. The test is therefore fixed in order to reflect that appropriately.
cc #135142 @roblabla
@rustbot label O-windows-7 O-x86_32 O-x86_64 A-io T-libs1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
0 commit comments