Commit 535996f
committed
fixup! std: add platform support for hexagon-unknown-qurt
Fix unsupported import for non-unix targets (e.g. wasm32-wasip1).
On qurt, `crate::sys::unsupported` is a module (from pal::unix), but
on other platforms using the unsupported process/net modules (e.g. wasm),
it's a function re-exported from pal. Use conditional imports to handle
both cases.1 parent de8ba26 commit 535996f
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments