You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
piston2d-gfx_graphics v0.33.1 fails to compile with rustc 1.15.0-nightly (ba872f270 2016-11-17) giving the following error message compiler_error.txt
There are two additional warnings: $crate may not be imported on each error. Is this a problem with the way the crate has been implemented? I say this because there was a compile error on the previous version that seemed very similar #308
The text was updated successfully, but these errors were encountered:
It seems that newest rust nightly don't support use $crate in macros, but unfortunately, gfx v0.12.0, which piston2d-gfx_graphics v0.33.1 depends on, do so. In src/macros/pso.rs:
To workaround, simply delete the line use $crate in.
Of course, we should fix it permanently, but the difficulty is, the newest gfx's structure is never like 0.12.x at all, it doesn't even expose these macros now(these macros is now at a sub directory of gfx as a sub crate). We should work out a better way to get out of it.
piston2d-gfx_graphics v0.33.1
fails to compile withrustc 1.15.0-nightly (ba872f270 2016-11-17)
giving the following error message compiler_error.txtThere are two additional warnings:
$crate may not be imported
on each error. Is this a problem with the way the crate has been implemented? I say this because there was a compile error on the previous version that seemed very similar #308The text was updated successfully, but these errors were encountered: