Skip to content

bitarray doesn't build anymore with recent rustc #4

@tenzap

Description

@tenzap

$ cargo build --all-features

$ rustc --version
rustc 1.91.1

BTW may you also add support for space 0.19?

error[E0557]: feature has been removed
 --> src/lib.rs:4:56
  |
4 |     feature(link_llvm_intrinsics, repr_simd, simd_ffi, platform_intrinsics)
  |                                                        ^^^^^^^^^^^^^^^^^^^ feature has been removed
  |
  = note: removed in 1.78.0; see <https://github.com/rust-lang/rust/pull/121516> for more information
  = note: SIMD intrinsics use the regular intrinsics ABI now

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/lib.rs:4:5
  |
4 |     feature(link_llvm_intrinsics, repr_simd, simd_ffi, platform_intrinsics)
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: the feature `link_llvm_intrinsics` is internal to the compiler or standard library
 --> src/lib.rs:4:13
  |
4 |     feature(link_llvm_intrinsics, repr_simd, simd_ffi, platform_intrinsics)
  |             ^^^^^^^^^^^^^^^^^^^^
  |
  = note: using it is strongly discouraged
  = note: `#[warn(internal_features)]` on by default

error[E0703]: invalid ABI: found `platform-intrinsic`
  --> src/lib.rs:34:16
   |
34 |         extern "platform-intrinsic" {
   |                ^^^^^^^^^^^^^^^^^^^^ invalid ABI
   |
   = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions

error[E0076]: SIMD vector's only field must be an array
  --> src/lib.rs:24:9
   |
24 |         struct Tup(u128, u128, u128, u128);
   |         ^^^^^^^^^^ ---- not an array

error[E0044]: foreign items may not have type parameters
  --> src/lib.rs:35:13
   |
35 |             fn simd_xor<T>(x: T, y: T) -> T;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
   |
   = help: replace the type parameters with concrete types like `u32`


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions