We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1918822 + 85afd42 commit 372a0e6Copy full SHA for 372a0e6
src/index_map.rs
@@ -1742,8 +1742,11 @@ mod tests {
1742
1743
// tests that use this constant take too long to run under miri, specially on CI, with a map of
1744
// this size so make the map smaller when using miri
1745
- #[cfg(not(miri))]
+ #[cfg(not(any(miri, target_os = "vxworks")))]
1746
const MAP_SLOTS: usize = 4096;
1747
+ // Reduce number of slots as too many slots can cause a stack overflow on VxWorks.
1748
+ #[cfg(target_os = "vxworks")]
1749
+ const MAP_SLOTS: usize = 1024;
1750
#[cfg(miri)]
1751
const MAP_SLOTS: usize = 64;
1752
fn almost_filled_map() -> FnvIndexMap<usize, usize, MAP_SLOTS> {
0 commit comments