From f4f79c3304602701b0a48e3ab77bc87903440e82 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 6 Apr 2017 18:32:39 -0500 Subject: [PATCH] ignore the .init_array doctest as it's specific to ELF and won't pass on macOS / Windows --- src/doc/unstable-book/src/used.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.44.0