Skip to content

Commit f0a5a34

Browse files
committed
breakage guidance
1 parent d869de0 commit f0a5a34

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/Rust-1.89.0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ pub fn cool_simd_code(/* .. */) -> /* ... */ {
136136

137137
Doctests will now be tested when running `cargo test --doc --target other_target`, this may result in some amount of breakage due to would-be-failing doctests now being tested.
138138

139+
Failing tests can be disabled by annotating the doctest with `ignore-<target>`:
140+
```rust
141+
/// ```ignore-x86_64
142+
/// panic!("something")
143+
/// ```
144+
/// pub fn my_function() { }
145+
```
146+
139147
### Platform Support
140148

141149
- [Add new Tier-3 targets `loongarch32-unknown-none` and `loongarch32-unknown-none-softfloat`](https://github.com/rust-lang/rust/pull/142053)

0 commit comments

Comments
 (0)