Skip to content

Commit ea39063

Browse files
committed
Update preserve_order required compiler to 1.38.0 for hashbrown
Required by indexmap introducing a dependency on hashbrown 0.11, which does not build with rustc 1.36.0. error[E0658]: use of unstable library feature 'ptr_cast' --> i.8713187.xyz-1ecc6299db9ec823/hashbrown-0.11.2/src/raw/mod.rs:504:57 | 504 | NonNull::new_unchecked(self.table.ctrl.as_ptr().cast()) | ^^^^ error[E0658]: use of unstable library feature 'ptr_cast' --> i.8713187.xyz-1ecc6299db9ec823/hashbrown-0.11.2/src/raw/mod.rs:1275:51 | 1275 | NonNull::new_unchecked(self.ctrl.as_ptr().cast()) | ^^^^ error[E0658]: use of unstable library feature 'ptr_cast' --> i.8713187.xyz-1ecc6299db9ec823/hashbrown-0.11.2/src/raw/sse2.rs:49:40 | 49 | Group(x86::_mm_loadu_si128(ptr.cast())) | ^^^^ error[E0658]: use of unstable library feature 'ptr_cast' --> i.8713187.xyz-1ecc6299db9ec823/hashbrown-0.11.2/src/raw/sse2.rs:59:39 | 59 | Group(x86::_mm_load_si128(ptr.cast())) | ^^^^ error[E0658]: use of unstable library feature 'ptr_cast' --> i.8713187.xyz-1ecc6299db9ec823/hashbrown-0.11.2/src/raw/sse2.rs:69:34 | 69 | x86::_mm_store_si128(ptr.cast(), self.0); | ^^^^
1 parent df1fb71 commit ea39063

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
rust: [beta, stable, 1.45.0, 1.40.0, 1.36.0, 1.31.0]
33+
rust: [beta, stable, 1.45.0, 1.40.0, 1.38.0, 1.31.0]
3434
os: [ubuntu]
3535
include:
3636
- rust: stable
@@ -43,6 +43,8 @@ jobs:
4343
- run: cargo check
4444
- run: cargo check --features preserve_order
4545
if: matrix.rust != '1.31.0'
46+
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,preserve_order
47+
if: matrix.rust != '1.31.0'
4648
- run: cargo check --features float_roundtrip
4749
- run: cargo check --features arbitrary_precision
4850
- run: cargo check --features raw_value
@@ -64,7 +66,6 @@ jobs:
6466
- uses: actions/checkout@v2
6567
- uses: dtolnay/[email protected]
6668
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc
67-
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,preserve_order
6869

6970
clippy:
7071
name: Clippy

0 commit comments

Comments
 (0)