diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-31 23:36:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 23:36:31 +0000 |
commit | b53dfa87c30e50795df0495343da2308ba202620 (patch) | |
tree | c402c66fa08ea04d19a7b43ca5169d1309a4591a /src/sys/socket/sockopt.rs | |
parent | 7e8757f4dff4831010677c6d628b05369619c6d6 (diff) | |
parent | 0ac338b74445bf55ffd70d6bc85f4339d151f6fc (diff) | |
download | nix-b53dfa87c30e50795df0495343da2308ba202620.zip |
Merge #1730
1730: Ignore doctests for unexported macros r=asomers a=zombiepigdragon
Due to rust-lang/rust#97030, cargo test will fail to doctest macros unless they are exported, breaking the examples for `libc_bitflags!` and `libc_enum!`.
Adds `ignore` to the examples for these macros to stop tests from failing.
`cargo test` already fails on cargo 1.62.0-beta.2, and the above issue makes it seem unlikely that this will be changed on the Rust side. If rust-lang/rust#96630 *does* get reverted, this PR can be closed/unmerged, although the test wasn't running beforehand, and it might be worth making this explicit regardless.
Co-authored-by: Alex Rawson <ajzecrom@gmail.com>
Diffstat (limited to 'src/sys/socket/sockopt.rs')
0 files changed, 0 insertions, 0 deletions