smoldot
smoldot copied to clipboard
Add #![forbid(unsafe_code)]
Not possible yet because of:
- https://github.com/paritytech/substrate-lite/blob/0703aa35fc5bca924af2936a1d6898ed5ff3ebb9/src/executor/vm/interpreter.rs#L320-L332
- https://github.com/paritytech/substrate-lite/blob/0703aa35fc5bca924af2936a1d6898ed5ff3ebb9/src/executor/vm/jit.rs#L301-L302
Relates to https://github.com/paritytech/smoldot/issues/760
We might be able to remove these unsafe blocks after https://github.com/paritytech/smoldot/issues/760 is figured out