Stream: git-wasmtime

Topic: wasmtime / PR #3507 Use `ptr::cast` instead of `as` casts...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2021 at 20:18):

sunfishcode opened PR #3507 from sunfishcode/pointer-casts to main:

ptr::cast has the advantage of being unable to silently cast
*const T to *mut T. This turned up several places that were
performing such casts, which this PR also fixes.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2021 at 20:25):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2021 at 20:26):

sunfishcode updated PR #3507 from sunfishcode/pointer-casts to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2022 at 20:23):

sunfishcode updated PR #3507 from sunfishcode/pointer-casts to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2022 at 21:03):

sunfishcode merged PR #3507.


Last updated: Dec 23 2024 at 12:05 UTC