amethyst / amethyst/amethyst-starter-2d

Doesn't compile out of the box on Windows

Aperta
#33 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
199
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Platform:
Windows 10
rust 1.57.0

To reproduce:
Follow instructions on 2d sample page (git clone, cargo run).

Error:
Fairly long list of errors, each referring to mismatch between types u32 and usize in lexical-core-0.4.6. This is the first one:

error[E0308]: mismatched types
--> C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigcomp.rs:243:55
|
243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
| ^^^^^^^^^^^^^^^ expected `usize`, found `u32`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.