Skip to content

Commit

Permalink
ignore the .init_array doctest
Browse files Browse the repository at this point in the history
as it's specific to ELF and won't pass on macOS / Windows
  • Loading branch information
Jorge Aparicio committed Apr 6, 2017
1 parent 7d25e76 commit f4f79c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/used.md
Expand Up @@ -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() {
Expand Down

0 comments on commit f4f79c3

Please sign in to comment.