Commit 8c01bd1
authored
[cargo-zerocopy] Pass
Pass the same set of flags to `RUSTFLAGS` and `RUSTDOCFLAGS`. Some of
our tests - specifically `src/doctests.rs` - use `cfg`s which are set by
`cargo-zerocopy`, but these were previously not passed when evaluating
doc tests.
This follows up on #2960, which introduced this bug.
gherrit-pr-id: G413a86267ff4384a9806de9a784407f1f5be96aaRUSTDOCFLAGS (#2987)1 parent d296c26 commit 8c01bd1
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | 248 | | |
| |||
0 commit comments