karolherbst, Is there a good way in #rustlang to prevent stackoverflows with long dependency chains of Arced objects?
Basically I need to prevent something like this from happening: https://godbolt.org/z/rxE4eaYe7
And no,
Weak
can't be used here as in my case I need to access the dependency reliably.EDIT: updated to get rid of the Mutex, because apparently that allowed some things I've not intended.