Explicitly deny unsafe code

This commit is contained in:
James 2018-08-04 17:15:27 +10:00
parent d53603e211
commit 2673e5b475

View file

@ -4,6 +4,7 @@
//! framework, and opens necessary HTTP servers/frontends. //! framework, and opens necessary HTTP servers/frontends.
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![deny(unsafe_code)]
#[cfg(windows)] #[cfg(windows)]
extern crate nfd; extern crate nfd;