|
87 | 87 | //!
|
88 | 88 | //! On non-BSDs, `cfgetispeed()` and `cfgetospeed()` both return a `BaudRate`:
|
89 | 89 | //!
|
90 |
| -// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version |
91 | 90 | #![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
|
92 | 91 | target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
|
93 | 92 | doc = " ```rust,ignore")]
|
|
106 | 105 | //!
|
107 | 106 | //! But on the BSDs, `cfgetispeed()` and `cfgetospeed()` both return `u32`s:
|
108 | 107 | //!
|
109 |
| -// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version |
110 | 108 | #![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
|
111 | 109 | target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
|
112 | 110 | doc = " ```rust")]
|
|
125 | 123 | //!
|
126 | 124 | //! It's trivial to convert from a `BaudRate` to a `u32` on BSDs:
|
127 | 125 | //!
|
128 |
| -// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version |
129 | 126 | #![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
|
130 | 127 | target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
|
131 | 128 | doc = " ```rust")]
|
|
145 | 142 | //! And on BSDs you can specify arbitrary baud rates (**note** this depends on hardware support)
|
146 | 143 | //! by specifying baud rates directly using `u32`s:
|
147 | 144 | //!
|
148 |
| -// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version |
149 | 145 | #![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
|
150 | 146 | target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
|
151 | 147 | doc = " ```rust")]
|
|
0 commit comments