Xuanwo opened a new issue, #5239: URL: https://github.com/apache/opendal/issues/5239
### Describe the bug `opendal_compat` depends on `transmute` to perform conver between structs. But based on discussion happened at https://rust-lang.github.io/unsafe-code-guidelines/layout/structs-and-tuples.html and https://www.notion.so/xuanwospace/Inbox-1185e01178f980a3b7fadc9d0c1b54d2?pvs=4#1295e01178f9802f8c0fdc38c2b2fcae It's really UB and results many unexplained bug. It's better to remove all transmute and replace with `from/into`. ### Steps to Reproduce Perform `list` over `opendal_v0_49` ### Expected Behavior All operations should work as expected. ### Additional Context _No response_ ### Are you willing to submit a PR to fix this bug? - [ ] Yes, I would like to submit a PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
