Skip to content

move_val_init signature change broke freebsd32 build #27427

@jashank

Description

@jashank

I don't quite understand what's going on here, but it looks like intrinsics changed under us. From freebsd10_32 build 151:

rustc: i686-unknown-freebsd/stage0/lib/rustlib/i686-unknown-freebsd/lib/libcore
../src/libcore/intrinsics.rs:190:9: 190:50 error: intrinsic has wrong type: expected `unsafe extern "rust-intrinsic" fn(&mut P0, P0)`: expected &-ptr, found *-ptr [E0211]
../src/libcore/intrinsics.rs:190     pub fn move_val_init<T>(dst: *mut T, src: T);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libcore/intrinsics.rs:190:9: 190:50 help: run `rustc --explain E0211` to see a detailed explanation
../src/libcore/intrinsics.rs:609:9: 609:58 error: unrecognized intrinsic function: `try` [E0093]
../src/libcore/intrinsics.rs:609     pub fn try(f: fn(*mut u8), data: *mut u8) -> *mut u8;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libcore/intrinsics.rs:609:9: 609:58 help: run `rustc --explain E0093` to see a detailed explanation
error: aborting due to 2 previous errors

This may also be blocked-by/blocking-a FreeBSD i386 snapshot.

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