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
error[E0658]: use of unstable library feature 'clamp'
--> src/main.rs:219:52
|
219 | let col = col.map(|x| x.sqrt().clamp(0.0, 0.999) * 256.);
| ^^^^^
|
= note: see issue #44095 <https://github.com/rust-lang/rust/issues/44095> for more information
error[E0658]: use of unstable library feature 'clamp'
--> src/math/texture.rs:80:23
|
80 | let u = u.clamp(0., 1.);
| ^^^^^
|
= note: see issue #44095 <https://github.com/rust-lang/rust/issues/44095> for more information
error[E0658]: use of unstable library feature 'clamp'
--> src/math/texture.rs:81:28
|
81 | let v = 1. - v.clamp(0., 1.);
| ^^^^^
|
= note: see issue #44095 <https://github.com/rust-lang/rust/issues/44095> for more information
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `rtiow`
I am using macOS
The text was updated successfully, but these errors were encountered:
You are probably running an old version of rust. If you follow the link to the issue, it says it is already stabilized.
If you run rustup update first it should work
I am using macOS
The text was updated successfully, but these errors were encountered: