fix/rust-panic #320

Merged
DashEightMate merged 2 commits from StalinistApologist/lemmy-hexbear:fix/rust-panic into main 12 months ago

Config 0.10.1 has a bug that causes a panic:

thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<std::string::String, value::Value>` uninitialized, which is invalid', /rustc/952fdf2a1119affa1b37bcacb0c49cf9f0168ac8/library/core/src/mem/mod.rs:660:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Panic in Arbiter thread.

Upgrading to config 0.11.0 fixes this. In addition, I fixed a borrow check to work with Rust 1.53 stable and Rust 1.55 nightly.

Fixed in config-rs in https://github.com/mehcode/config-rs/issues/158

Lemmy issues: https://github.com/LemmyNet/lemmy/issues/1114
https://github.com/LemmyNet/lemmy/issues/1270

Config 0.10.1 has a bug that causes a panic: ``` thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<std::string::String, value::Value>` uninitialized, which is invalid', /rustc/952fdf2a1119affa1b37bcacb0c49cf9f0168ac8/library/core/src/mem/mod.rs:660:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Panic in Arbiter thread. ``` Upgrading to config 0.11.0 fixes this. In addition, I fixed a borrow check to work with Rust 1.53 stable and Rust 1.55 nightly. Fixed in config-rs in https://github.com/mehcode/config-rs/issues/158 Lemmy issues: https://github.com/LemmyNet/lemmy/issues/1114 https://github.com/LemmyNet/lemmy/issues/1270
StalinistApologist added 2 commits 12 months ago
Poster
Owner

Looks good to me! Thanks for helping out with this

Looks good to me! Thanks for helping out with this
DashEightMate merged commit 27a4b0b617 into main 12 months ago
The pull request has been merged as 27a4b0b617.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.