Skip to content

Build Error  #570

Open
Open
@geomlattice

Description

@geomlattice

I have attempted

git clone https://github.com/servo/pathfinder.git
cd pathfinder
cargo build --release

I get a build error

error[E0080]: could not evaluate static initializer
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
    |
    = note: entering unreachable code
    |
note: inside `NonZero::<u32>::new_unchecked`
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
note: inside `Entry::new`
   --> /home/ubuntu/.cargo/git/checkouts/encoding-b7c0f658ef1ffb49/44cafed/src/lib.rs:109:17
    |
109 |                 NonZeroU32::new_unchecked(c as u32)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `c`
   --> /home/ubuntu/.cargo/git/checkouts/encoding-b7c0f658ef1ffb49/44cafed/src/lib.rs:123:10
    |
123 |     Some(Entry::new(c))
    |          ^^^^^^^^^^^^^
note: inside `WINANSI`
   --> /home/ubuntu/.cargo/git/checkouts/encoding-b7c0f658ef1ffb49/44cafed/src/cp1252.rs:2:2
    |
2   |  c('\u{0000}'), c('\u{0001}'), c('\u{0002}'), c('\u{0003}'), c('\u{0004}'), c('\u{0005}'), c('\u{0006}'), c('\u{0007}'),
    |  ^^^^^^^^^^^^^

How can I make sense of this? What can be done to move the build process forward?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions