You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story:
* This test was introduced
* `ci/script.sh` did not correctly check for failures, [SC2251]
* Thanks rust-embedded#404 for the tip!
* The FLASH size was increased, and the test incorrectly passed, but
nobody noticed.
* I modified the test in rust-embedded#505 which made it fail again, but for the
wrong reason. `ptr::read_volatile(ptr::addr_of!(RODATA))` reads the
entire array, which is not equivalent to the original code
`ptr::read_volatile(&RODATA as *const u8)` which read a single element
of the array.
* The test now failed, but the stack related overflow takes rustc a LONG
time to compile, and pushed our CI times to >30m.
These changes fix ci/scripts.sh to exit with a non-zero code if
data_overflow is passing, and makes data_overflow fail to compile for
the original reason, updating RODATA to reflect the increased FLASH
size.
[SC2251]: https://www.shellcheck.net/wiki/SC2251
0 commit comments