mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Disallow unsafe code in net and net_traits.
This commit is contained in:
parent
ce2da28a00
commit
e8db43ce50
4 changed files with 40 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#![feature(custom_attribute)]
|
||||
#![plugin(heapsize_plugin, serde_macros)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate heapsize;
|
||||
extern crate hyper;
|
||||
extern crate image as piston_image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue