about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-29 06:14:16 +0100
committerGitHub <noreply@github.com>2023-01-29 06:14:16 +0100
commit0f86ada9d8095a2cc61bfaf0b21f872e34602674 (patch)
tree98d8a3a442ec385158f47d1cab323f7efcf3764c /tests/rustdoc-js-std/parser-errors.js
parentbcb064a7f4aee705c97ce1b74beb9af0f9b5adb2 (diff)
parent92aa5f6b272bcdc020a34f8d90f9ef851b5b4504 (diff)
downloadrust-0f86ada9d8095a2cc61bfaf0b21f872e34602674.tar.gz
rust-0f86ada9d8095a2cc61bfaf0b21f872e34602674.zip
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
Disable `linux_ext` in wasm32 and fortanix rustdoc builds.

The `std::os::unix` module is stubbed out when building docs for these target platforms. The introduction of Linux-specific extension traits caused `std::os::net` to depend on sub-modules of `std::os::unix`, which broke rustdoc for the `wasm32-unknown-unknown` target.

Adding an additional `#[cfg]` guard solves that rustdoc failure by not declaring `linux_ext` on targets with a stubbed `std::os::unix`.

Fixes #105467
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions