server/src/main.rs fails to build — 11 cannot borrow as mutable errors on use_signal bindings #162
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After running
cargo update(which moved Dioxus and several other deps to newer commits),make runfails to compile archipelagos_server for wasm32-unknown-unknown with 11 E0596: cannot borrow X as mutable, as it is not declared as mutable errors. All errors are on Signal::set(...) calls whose backing let X = use_signal(...) binding is missing mut. The compiler's own suggestion — add mut to each binding — resolves the build.