Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Use of unstable library #40

Closed
Julien-cpsn opened this issue Feb 19, 2024 · 1 comment
Closed

Use of unstable library #40

Julien-cpsn opened this issue Feb 19, 2024 · 1 comment

Comments

@Julien-cpsn
Copy link

Julien-cpsn commented Feb 19, 2024

Hello,

Firstly, thank you for this library, it's great!
Secondly, I could not compile on various machines due to unstable library. Since the "unstable" part only consists of 2 functions, are you able to get rid of them and go back in a more "stable" library? That would be fantastic :)

Here is the cargo trace:

error[E0658]: use of unstable library feature 'int_roundings'
  --> C:\Users\mmm\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tui-big-text-0.4.1\src\big_text.rs:93:23
   |
93 |     let width = 8_u16.div_ceil(step_x);
   |                       ^^^^^^^^
   |
   = note: see issue #88581 <https://github.com/rust-lang/rust/issues/88581> for more information

error[E0658]: use of unstable library feature 'int_roundings'
  --> C:\Users\mmm\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tui-big-text-0.4.1\src\big_text.rs:94:24
   |
94 |     let height = 8_u16.div_ceil(step_y);
   |                        ^^^^^^^^
   |
   = note: see issue #88581 <https://github.com/rust-lang/rust/issues/88581> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `tui-big-text` (lib) due to 2 previous errors

Linked issue: rust-lang/rust#88581

Have a great day

@Julien-cpsn
Copy link
Author

Updating rustup have solved the issue since the stable version was merged into the stablechannel

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

No branches or pull requests

1 participant