mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13: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
@ -2,7 +2,7 @@
|
||||
|
||||
//! The std library of Asterinas.
|
||||
#![no_std]
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(unsafe_code)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(incomplete_features)]
|
||||
#![allow(unused_variables)]
|
||||
|
Reference in New Issue
Block a user