firefox-esr: fix build with rust 1.33
[ci skip]
This commit is contained in:
parent
366918cee1
commit
5fb88cfb0a
1 changed files with 24 additions and 0 deletions
24
srcpkgs/firefox-esr/patches/rust133.patch
Normal file
24
srcpkgs/firefox-esr/patches/rust133.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
This fixes build errors under recent Rust.
|
||||
|
||||
--- servo/components/style_traits/lib.rs
|
||||
+++ servo/components/style_traits/lib.rs
|
||||
@@ -9,7 +9,7 @@
|
||||
#![crate_name = "style_traits"]
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
-#![deny(unsafe_code, missing_docs)]
|
||||
+#![deny(unsafe_code)]
|
||||
|
||||
extern crate app_units;
|
||||
#[macro_use] extern crate bitflags;
|
||||
--- servo/components/style/lib.rs
|
||||
+++ servo/components/style/lib.rs
|
||||
@@ -23,8 +23,6 @@
|
||||
//! [cssparser]: ../cssparser/index.html
|
||||
//! [selectors]: ../selectors/index.html
|
||||
|
||||
-#![deny(missing_docs)]
|
||||
-
|
||||
extern crate app_units;
|
||||
extern crate arrayvec;
|
||||
extern crate atomic_refcell;
|
Loading…
Reference in a new issue