Max
Max
> Using `MaybeUninit::assume_init` invokes `intrinsics::assert_inhabited::()` internally, which I presume can be important. `transmute_copy` just does a pointer read inside, too, so it should be equivalent. That's just a UB check...
The part about the implementation of `transmute_copy` is a good point. The current implementation goes through `assume_init` though, which requires an extra copy through `MaybeUninit` (at least I assume that's...
Haven't had time to test this yet but it looks good, that's basically what I did in my testing. Have you actually tested compiling on 1.74-1.82? The implementation of const_transmute...
> ``` > cp -rL /run/current-system/sw/share/icons/breeze_cursors ~/.local/share/icons/default > ``` Thanks, this worked for me too! Based on this, using home-manager you can just do: ```nix home.file.".local/share/icons/default" = { source =...