Skip to content

Build fails on i386: error[E0512]: cannot transmute between types of different sizes, or dependently-sized types #116

Closed
@yurivict

Description

@yurivict
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
  --> /wrkdirs/usr/ports/devel/pylyzer/work/pylyzer-0.0.51/cargo-crates/rustpython-ast-0.3.0/src/impls.rs:65:1
   |
65 | static_assertions::assert_eq_size!(crate::ExceptHandler, [u8; 64]);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: source type: `generic::ExceptHandler` (288 bits)
   = note: target type: `[u8; 64]` (512 bits)
   = note: this error originates in the macro `static_assertions::assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0512`.
error: could not compile `rustpython-ast` (lib) due to 1 previous error

log

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