mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 19:33:23 +00:00
Use deny(unsafe_code) instead of forbid(unsafe_code)
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
da3e279ac6
commit
c02eacd50c
@ -16,7 +16,7 @@
|
||||
//! ```
|
||||
|
||||
#![cfg_attr(not(test), no_std)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(unsafe_code)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
extern crate alloc;
|
||||
|
Reference in New Issue
Block a user