We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7251b46 commit af2b4b9Copy full SHA for af2b4b9
src/doc/rustdoc/src/write-documentation/documentation-tests.md
@@ -442,6 +442,15 @@ struct Foo;
442
443
This doctest will not be built for targets such as `x86_64-unknown-linux-gnu`.
444
445
+Multiple ignore attributes can be specified to ignore multiple targets:
446
+
447
+```rust
448
+/// ```ignore-x86_64,ignore-windows
449
+/// assert!(2 == 2);
450
+/// ```
451
+struct Foo;
452
+```
453
454
If you want to preserve backwards compatibility for older versions of rustdoc,
455
you can specify both `ignore` and `ignore-`, such as:
456
0 commit comments