Auto merge of #977 - tspiteri:url-domain, r=alexcrichton
fix domain of html_root_url to be rust-lang.github.io Fixes #976
This commit is contained in:
commit
484f2758a3
44
src/lib.rs
44
src/lib.rs
|
@ -19,70 +19,70 @@
|
|||
html_favicon_url = "https://doc.rust-lang.org/favicon.ico")]
|
||||
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "x86_64"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-linux-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "x86"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/i686-unknown-linux-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/i686-unknown-linux-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "arm"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/arm-unknown-linux-gnueabihf"
|
||||
html_root_url = "https://rust-lang.github.io/libc/arm-unknown-linux-gnueabihf"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "mips"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/mips-unknown-linux-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/mips-unknown-linux-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "aarch64"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/aarch64-unknown-linux-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/aarch64-unknown-linux-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_env = "musl"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-linux-musl"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-musl"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "macos", target_arch = "x86_64"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-apple-darwin"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-apple-darwin"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "macos", target_arch = "x86"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/i686-apple-darwin"
|
||||
html_root_url = "https://rust-lang.github.io/libc/i686-apple-darwin"
|
||||
))]
|
||||
#![cfg_attr(all(windows, target_arch = "x86_64", target_env = "gnu"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-pc-windows-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(windows, target_arch = "x86", target_env = "gnu"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/i686-pc-windows-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-gnu"
|
||||
))]
|
||||
#![cfg_attr(all(windows, target_arch = "x86_64", target_env = "msvc"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-pc-windows-msvc"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-msvc"
|
||||
))]
|
||||
#![cfg_attr(all(windows, target_arch = "x86", target_env = "msvc"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/i686-pc-windows-msvc"
|
||||
html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-msvc"
|
||||
))]
|
||||
#![cfg_attr(target_os = "android", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/arm-linux-androideabi"
|
||||
html_root_url = "https://rust-lang.github.io/libc/arm-linux-androideabi"
|
||||
))]
|
||||
#![cfg_attr(target_os = "freebsd", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-freebsd"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-freebsd"
|
||||
))]
|
||||
#![cfg_attr(target_os = "openbsd", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-openbsd"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-openbsd"
|
||||
))]
|
||||
#![cfg_attr(target_os = "bitrig", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-bitrig"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-bitrig"
|
||||
))]
|
||||
#![cfg_attr(target_os = "netbsd", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-netbsd"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-netbsd"
|
||||
))]
|
||||
#![cfg_attr(target_os = "dragonfly", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-dragonfly"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-dragonfly"
|
||||
))]
|
||||
#![cfg_attr(target_os = "solaris", doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/x86_64-sun-solaris"
|
||||
html_root_url = "https://rust-lang.github.io/libc/x86_64-sun-solaris"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/asmjs-unknown-emscripten"
|
||||
html_root_url = "https://rust-lang.github.io/libc/asmjs-unknown-emscripten"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "emscripten", target_arch = "wasm32"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/wasm32-unknown-emscripten"
|
||||
html_root_url = "https://rust-lang.github.io/libc/wasm32-unknown-emscripten"
|
||||
))]
|
||||
#![cfg_attr(all(target_os = "linux", target_arch = "sparc64"), doc(
|
||||
html_root_url = "https://doc.rust-lang.org/libc/sparc64-unknown-linux-gnu"
|
||||
html_root_url = "https://rust-lang.github.io/libc/sparc64-unknown-linux-gnu"
|
||||
))]
|
||||
|
||||
// Attributes needed when building as part of the standard library
|
||||
|
|
Loading…
Reference in New Issue