coconut-svsm / svsm

COCONUT-SVSM
MIT License
122 stars 42 forks source link

workspace: enable `unsafe_op_in_unsafe_fn` lint #519

Closed msft-jlange closed 5 days ago

msft-jlange commented 1 week ago

It is good to mark functions as unsafe when the safety of their behavior is not guaranteed. It is not goot to permit these functions to perform additional unsafe operations without warning. All uses of unsafe code should require explicit unsafe annotation regardless of whether they appear in safe or unsafe functions.