Skip to content

Should update rust to 1.72 #8743

Closed

Description

@Ted-Jiang

Is your feature request related to a problem or challenge?

Try to build df got

error[E0658]: use of unstable library feature 'stdsimd'
   --> /Users/yangjiang/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.7/src/operations.rs:124:24
    |
124 |     let res = unsafe { vaesmcq_u8(vaeseq_u8(transmute!(value), transmute!(0u128))) };
    |                        ^^^^^^^^^^
    |
    = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information
    = help: add `#![feature(stdsimd)]` to the crate attributes to enable

Describe the solution you'd like

From the ticket
tkaitchuck/aHash#195
we should update rust to 1.72

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. added
    enhancement
    on Jan 4, 2024
  2. Ted-Jiang commented on Jan 4, 2024

    @Ted-Jiang
    MemberAuthor

    @alamb could you give me some advice? any concern? 😄

  3. alamb commented on Jan 4, 2024

    @alamb
    Contributor

    In theory we have a check for min rust version contributed in #7123 from @sarutak

    https://github.com/apache/arrow-datafusion/blob/819d3577872a082f2aea7a68ae83d68534049662/datafusion/core/Cargo.toml#L30

    However, it appears not to be working if you can't compile using 1.71

    Maybe we can figure out why the CI check isn't failing and then upgrade to rust 1.72 as a MSRV

  4. Jefffrey commented on Jan 4, 2024

    @Jefffrey
    Contributor

    Maybe we can figure out why the CI check isn't failing and then upgrade to rust 1.72 as a MSRV

    CI check not failing because ahash didn't bump their own MSRV. I've raised a PR for them now: tkaitchuck/aHash#196

  5. Jefffrey commented on Jan 4, 2024

    @Jefffrey
    Contributor

    Also, worth fixing as well places which don't use the workspace rust-version, e.g.

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/docs/Cargo.toml#L18-L29

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/benchmarks/Cargo.toml#L18-L27

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/datafusion/core/Cargo.toml#L18-L30

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/datafusion/proto/Cargo.toml#L18-L29

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/datafusion/wasmtest/Cargo.toml#L18-L28

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/datafusion/substrait/Cargo.toml#L18-L28

    Or if theres a reason these should differ from what's specified in Cargo.toml then leave comments explaining this.

    Should ideally only have one place to specify:

    https://github.com/apache/arrow-datafusion/blob/e5036d0e760b637724e8ac59c32924f126311d39/Cargo.toml#L24-L32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions