Skip to content

Commit ef5393a

Browse files
committed
Comment out the emscripten doc attribute
1 parent 7d1d575 commit ef5393a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@
7272
#![cfg_attr(target_os = "dragonfly", doc(
7373
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-dragonfly"
7474
))]
75-
#![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc(
75+
// FIXME: The libc CI doesn't allow docs for platforms the compiler doesn't
76+
// support. Uncomment this once rustc understands emscripten.
77+
/*#![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc(
7678
html_root_url = "https://doc.rust-lang.org/libc/asmjs-unknown-emscripten"
77-
))]
79+
))]*/
7880

7981
// Attributes needed when building as part of the standard library
8082
#![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute))]

0 commit comments

Comments
 (0)