Commit 53ded78
committed
Test
The `let_readers_execute` function computes a new mode with `+x`
set reasonably based on an old mode. It is only useful on Unix-like
systems. But there may be a benefit to being able to detect more
bugs affecting one platform even on another; this can help catch
bugs slightly earlier in the development process.
Now that `let_readers_execute` only longer depends on a type that
varies across Unix-like systems and is only defined on such systems
(instead representing modes as `u32` on all of them), it no longer
contains anything that can't build or be tested everywhere. So this
lets its tests run on all systems, even non-Unix-like ones.let_readers_execute on all targets1 parent 51724d1 commit 53ded78
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
0 commit comments