Skip to content

Commit

Permalink
Add CI test with musl (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 17, 2024
1 parent 60def47 commit 1a1fa0d
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 52 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ jobs:
- aarch64-linux-android
- powerpc64-unknown-linux-gnu
- powerpc-unknown-linux-gnu
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion aws-lc-fips-sys/builder/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ const PRELUDE: &str = r"
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]
";

Expand Down
3 changes: 2 additions & 1 deletion aws-lc-fips-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ mod generated {
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-fips-sys/src/linux_aarch64_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-fips-sys/src/linux_aarch64_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-fips-sys/src/linux_x86_64_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-fips-sys/src/linux_x86_64_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
3 changes: 2 additions & 1 deletion aws-lc-sys/builder/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ const PRELUDE: &str = r"
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]
";

Expand Down
3 changes: 2 additions & 1 deletion aws-lc-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ mod generated {
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_aarch64_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_aarch64_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_x86_64_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_x86_64_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_x86_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/linux_x86_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/macos_x86_64_crypto.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down
6 changes: 2 additions & 4 deletions aws-lc-sys/src/macos_x86_64_crypto_ssl.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC


#![allow(
unused_imports,
non_camel_case_types,
Expand All @@ -21,10 +19,10 @@
clippy::too_many_lines,
clippy::unreadable_literal,
clippy::used_underscore_binding,
clippy::useless_transmute
clippy::useless_transmute,
clippy::pub_underscore_fields
)]


#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
Expand Down

0 comments on commit 1a1fa0d

Please sign in to comment.