Kaspar[m]: > <@kaspar:schleiser.de> boy was this easy when memory addresses where memory addresses. :smirk: > in this case, that usize is part of the thread state, I can't easily put an address to a T there. I hope I can get this to work as is. The reason I'm saying this is because currently it's very underspecified when it's allowed to cast from usize to ptr and write to that. I think currently the compiler is conservative so it's likely to work, but it's best avoided. If the issue is generics you can cast through `*mut ()` instead. Though your issue is probably the fences :p