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