Skip to content

Conversation

FooBarWidget
Copy link
Owner

There is a bug which causes parsing a perfectly valid YAML file to panick with the following error:

attempted to leave type `linked_hash_map::Node<yaml::Yaml, yaml::Yaml>` uninitialized, which is invalid, /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/linked-hash-map-0.5.2/src/lib.rs:174:52

This is apparently a compatibility problem with newer Rust compilers. Upgrading to yaml-rust 0.4.5 and linked-hash-map 0.5.4 fixes this problem.

Fixed by upgrading to yaml-rust 0.4.5 and linked-hash-map 0.5.4.
chyh1990/yaml-rust#167
@FooBarWidget FooBarWidget merged commit cf741f2 into main Jan 31, 2022
@FooBarWidget FooBarWidget deleted the fix/yaml-crash branch January 31, 2022 14:52
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

Successfully merging this pull request may close these issues.

1 participant