Skip to content

Commit 1469219

Browse files
tgonzalezorlandoarmgowthamsk-arm
authored andcommitted
lib.rs: Turn compilation warnings into compilation errors
Currently, no warnings are produced. This will guarantee a certain code quality in the project. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
1 parent ef7566f commit 1469219

File tree

4 files changed

+4
-0
lines changed
  • parsec-openssl-provider-shared/src
  • parsec-openssl-provider/src
  • parsec-openssl-sys2/src
  • parsec-openssl2/src

4 files changed

+4
-0
lines changed

parsec-openssl-provider-shared/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Copyright 2023 Contributors to the Parsec project.
22
// SPDX-License-Identifier: Apache-2.0
3+
#![deny(warnings)]
34

45
use parsec_openssl_provider::{openssl_errors, parsec_provider_provider_init};
56

parsec-openssl-provider/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2023 Contributors to the Parsec project.
22
// SPDX-License-Identifier: Apache-2.0
33
#![allow(clippy::missing_safety_doc)]
4+
#![deny(warnings)]
45

56
use std::sync::Arc;
67

parsec-openssl-sys2/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Copyright 2023 Contributors to the Parsec project.
22
// SPDX-License-Identifier: Apache-2.0
3+
#![deny(warnings)]
34

45
#[allow(non_camel_case_types)]
56
#[allow(non_upper_case_globals)]

parsec-openssl2/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2023 Contributors to the Parsec project.
22
// SPDX-License-Identifier: Apache-2.0
33
#![allow(clippy::missing_safety_doc)]
4+
#![deny(warnings)]
45

56
pub use openssl_sys::OSSL_PROVIDER;
67
pub use parsec_openssl_sys2::openssl_bindings;

0 commit comments

Comments
 (0)