Skip to content

Unable to build due to dependency issue #18

@theaddonn

Description

@theaddonn

tried to build the examples and with the only dep being nx I got the follow issue:

   Compiling linked_list_allocator v0.10.5
    Buildingerror[E0599]: no method named `dangling` found for struct `Layout` in the current scope
   --> C:\Users\lucy\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\linked_list_allocator-0.10.5\src\lib.rs:273:60
    |
273 |             return Ok(NonNull::slice_from_raw_parts(layout.dangling(), 0));
    |                                                            ^^^^^^^^
    |
help: there is a method `dangling_ptr` with a similar name
    |
273 |             return Ok(NonNull::slice_from_raw_parts(layout.dangling_ptr(), 0));
    |                                                                    ++++


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

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