Skip to content

Compile error on aarch64 in version 0.8.4 #170

Closed

Description

@PureWhiteWu
error[E0423]: expected function, found macro `transmute`
   --> /Users/purewhite/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/ahash-0.8.4/src/operations.rs:128:15
    |
128 |         xor ^ transmute::<_, u128>(vaesmcq_u8(vaeseq_u8(value, transmute!(0u128))))
    |               ^^^^^^^^^^^^^^^^^^^^ not a function
    |
help: use `!` to invoke the macro
    |
128 |         xor ^ transmute::<_, u128>!(vaesmcq_u8(vaeseq_u8(value, transmute!(0u128))))
    |                                   +
help: consider importing one of these items instead
    |
1   + use core::mem::transmute;
    |
1   + use std::mem::transmute;
    |
1   + use zerocopy::macro_util::core_reexport::mem::transmute;
    |

error[E0423]: expected function, found macro `transmute`
   --> /Users/purewhite/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/ahash-0.8.4/src/operations.rs:161:15
    |
161 |         xor ^ transmute::<_, u128>(vaesimcq_u8(vaesdq_u8(value, transmute!(0u128))))
    |               ^^^^^^^^^^^^^^^^^^^^ not a function
    |
help: use `!` to invoke the macro
    |
161 |         xor ^ transmute::<_, u128>!(vaesimcq_u8(vaesdq_u8(value, transmute!(0u128))))
    |                                   +
help: consider importing one of these items instead
    |
1   + use core::mem::transmute;
    |
1   + use std::mem::transmute;
    |
1   + use zerocopy::macro_util::core_reexport::mem::transmute;
    |

For more information about this error, try `rustc --explain E0423`.
error: could not compile `ahash` (lib) due to 2 previous errors

env:

rustc 1.75.0-nightly (42b1224e9 2023-10-15)
macOS 14.0 with Apple Silicon

Activity

  1. added a commit that references this issue on Oct 23, 2023
    ae40f9d
  2. changed the title [-]Compile error on 0.8.4[/-] [+]Compile error on aarch64 in version 0.8.4[/+] on Oct 23, 2023
  3. momodi commented on Oct 23, 2023

    @momodi

    I got this error, please revert 0.8.4 to 0.8.3

  4. blackm00n commented on Oct 23, 2023

    @blackm00n

    @tkaitchuck could you please yank 0.8.4

  5. Tails commented on Oct 23, 2023

    @Tails

    This worked for me:

     cargo update [email protected] --precise 0.8.3
  6. joshlf commented on Oct 23, 2023

    @joshlf
    Contributor

    A fix has been uploaded: #171

  7. added a commit that references this issue on Oct 23, 2023
    7bbbd83
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions