about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-04-06 18:32:39 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-04-06 18:32:39 -0500
commitf4f79c3304602701b0a48e3ab77bc87903440e82 (patch)
treeaab7e241c9bc1c5c9d412e023a89d48a59ef1d87
parent7d25e768ea58658a6523f4a0c1579582b298e43d (diff)
downloadrust-f4f79c3304602701b0a48e3ab77bc87903440e82.tar.gz
rust-f4f79c3304602701b0a48e3ab77bc87903440e82.zip
ignore the .init_array doctest
as it's specific to ELF and won't pass on macOS / Windows
-rw-r--r--src/doc/unstable-book/src/used.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/used.md b/src/doc/unstable-book/src/used.md
index cdda24acd70..75a8b2774f4 100644
--- a/src/doc/unstable-book/src/used.md
+++ b/src/doc/unstable-book/src/used.md
@@ -55,7 +55,7 @@ The ELF standard defines two special sections, `.init_array` and
 in these sections (at least when linking programs that target the `*-*-linux-*`
 targets).
 
-``` rust
+``` rust,ignore
 #![feature(used)]
 
 extern "C" fn before_main() {