Skip to content

Commit

Permalink
Fix CI tests failures caused by rust-lang/rust#72686
Browse files Browse the repository at this point in the history
  • Loading branch information
svartalf committed May 28, 2020
1 parent 0e8aeea commit 4f5a143
Show file tree
Hide file tree
Showing 12 changed files with 91 additions and 7 deletions.
8 changes: 7 additions & 1 deletion heim-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod errors;
Expand Down
8 changes: 7 additions & 1 deletion heim-cpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod os;
Expand Down
5 changes: 5 additions & 0 deletions heim-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
unused_import_braces,
unused_results
)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies
)]

#[allow(unused_extern_crates)]
extern crate proc_macro;
Expand Down
8 changes: 7 additions & 1 deletion heim-disk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod os;
Expand Down
8 changes: 7 additions & 1 deletion heim-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(target_os = "windows")]
Expand Down
8 changes: 7 additions & 1 deletion heim-memory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod memory;
Expand Down
8 changes: 7 additions & 1 deletion heim-net/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod os;
Expand Down
8 changes: 7 additions & 1 deletion heim-process/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
unused_import_braces,
unused_results
)]
#![allow(clippy::missing_safety_doc)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies,
clippy::missing_safety_doc
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod errors;
Expand Down
22 changes: 22 additions & 0 deletions heim-runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
#![doc(html_root_url = "https://docs.rs/heim-runtime/0.1.0-beta.1")]
#![deny(
unused,
unused_imports,
unused_features,
bare_trait_objects,
future_incompatible,
missing_debug_implementations,
// missing_docs, // TODO
nonstandard_style,
dead_code,
deprecated,
intra_doc_link_resolution_failure
)]
#![warn(
trivial_casts,
trivial_numeric_casts,
unused_extern_crates,
unused_import_braces,
unused_results
)]

use std::future::Future;

pub mod fs;
Expand Down
5 changes: 5 additions & 0 deletions heim-sensors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
unused_import_braces,
unused_results
)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod sys;
Expand Down
5 changes: 5 additions & 0 deletions heim-virt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
unused_import_braces,
unused_results
)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod sys;
Expand Down
5 changes: 5 additions & 0 deletions heim/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
unused_import_braces,
unused_results
)]
#![allow(
// Next two are temporary, see https://github.com/rust-lang/rust/issues/72686
unknown_lints,
unused_crate_dependencies
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "cpu")]
Expand Down

0 comments on commit 4f5a143

Please sign in to comment.