Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kstring 1.1 (requested by toml_edit) fails to compile in stable rust #32

Closed
pacak opened this issue Mar 29, 2022 · 1 comment
Closed

Comments

@pacak
Copy link

pacak commented Mar 29, 2022

I have a project that uses toml_edit but not kstring. Now it fails to compile with this:

error: `MaybeUninit::<T>::assume_init` is not yet stable as a const fn
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/kstring-1.1.0/src/string.rs:842:17
    |
842 |                 std::mem::MaybeUninit::uninit().assume_init()
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Adding a dummy dependency to the crate itself fixes the problem

kstring = "=1.0"
% rustc --version 
rustc 1.58.0 (02072b482 2022-01-11)
@pacak
Copy link
Author

pacak commented Mar 29, 2022

Ugh. It was made stable in 1.59 which is useless due to broken incremental compilation. Sorry about the noise

@pacak pacak closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant