Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #570

Open
geomlattice opened this issue Aug 19, 2024 · 0 comments
Open

Build Error #570

geomlattice opened this issue Aug 19, 2024 · 0 comments

Comments

@geomlattice
Copy link

geomlattice commented Aug 19, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant