Skip to content

src/liballoc/alloc.rs:169: undefined reference to `<core::ptr::Unique<T>>::as_ptr' #52528

@oli-obk

Description

@oli-obk

Tests with panic=abort cause

In function `alloc::alloc::box_free':
          /home/oliver/Projects/rust/rust3/src/liballoc/alloc.rs:169: undefined reference to `<core::ptr::Unique<T>>::as_ptr'
          /home/oliver/Projects/rust/rust3/src/liballoc/alloc.rs:169: undefined reference to `<core::ptr::Unique<T>>::as_ptr'
          /home/oliver/Projects/rust/rust3/src/liballoc/alloc.rs:169: undefined reference to `<core::ptr::Unique<T>>::as_ptr'
          collect2: error: ld returned 1 exit status

For me locally.

This isn't happening on Travis.

Maybe it's

  • debuginfo,
  • fullmir
  • incremental

related? Because I have all of these set in my config.toml. Has been happening since I rebased yesterday.

I'll investigate locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions