Skip to content

Commit

Permalink
Take 2 at fixing the build for esoteric platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed Apr 1, 2024
1 parent a5e5810 commit 0a02718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cargo-deny-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ confidence-threshold = 1.0
exceptions = [
{ allow = ["OpenSSL"], name = "ring", version = "*" },
{ allow = ["OpenSSL"], name = "aws-lc-sys", version = "*" },
{ allow = ["OpenSSL"], name = "aws-lc-fips-fips", version = "*" },
{ allow = ["OpenSSL"], name = "aws-lc-fips-sys", version = "*" },
]

[[licenses.clarify]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder
use hyper_util::client::legacy::connect::dns::{GaiResolver, Name};
use std::error::Error;
use std::str::FromStr;
use std::sync::atomic::{AtomicU64, Ordering};
use std::sync::Arc;
use tower::Service;

Expand Down Expand Up @@ -46,10 +45,11 @@ async fn aws_lc_client() {
#[cfg(feature = "crypto-ring")]
#[tokio::test]
async fn custom_dns_client() {
use std::sync::atomic::{AtomicUsize, Ordering};
#[derive(Debug, Clone)]
struct PassThroughResolver {
inner: GaiResolver,
count: Arc<AtomicU64>,
count: Arc<AtomicUsize>,
}
impl ResolveDns for PassThroughResolver {
fn resolve_dns<'a>(&'a self, _name: &'a str) -> DnsFuture<'a> {
Expand Down

0 comments on commit 0a02718

Please sign in to comment.