Skip to content

Variadic FFI test fails on aarch64-apple-darwin #78092

Closed

Description

@shepmaster
x.py test --stage 2 src/test/ui/abi/variadic-ffi
---- [ui] ui/abi/variadic-ffi.rs stdout ----

error: test run failed!
status: exit code: 101
command: "/Users/shepmaster/Projects/rust/full/build/aarch64-apple-darwin/test/ui/abi/variadic-ffi/a"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `3078109020`,
 right: `30`', /Users/shepmaster/Projects/rust/src/test/ui/abi/variadic-ffi.rs:78:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

------------------------------------------

Meta

Fails in e3051d8

Activity

  1. added
    O-macosOperating system: macOS
    A-FFIArea: Foreign function interface (FFI)
    O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
    C-bugCategory: This is a bug.
    F-c_variadic`#![feature(c_variadic)]`
    on Oct 19, 2020
  2. shepmaster commented on Oct 19, 2020

    @shepmaster
    MemberAuthor

    Based on the porting guide:

    Because of these changes, the type va_list is an alias for char*, and not for the struct type in the generic procedure call standard.

    So that's one thing that needs to be changed.

  3. added a commit that references this issue on Oct 26, 2020
    147a001
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

    A-FFIArea: Foreign function interface (FFI)C-bugCategory: This is a bug.F-c_variadic`#![feature(c_variadic)]`O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions