Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Aug 2, 2024
1 parent bf33f80 commit 5660a6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions esp-rustls-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ rand_core = { version = "0.6", default-features = false }
# there was a bug in Rustls - need a specific git commit for now
rustls = { git = "https://github.com/rustls/rustls", rev = "1177a465680cfac8c2a4b7217758d488d5d840c4", default-features = false, features = [
"logging",
"tls12",
] }
rsa = { version = "0.9", features = ["sha2"], default-features = false }
sha2 = { version = "0.10", default-features = false }
Expand Down
5 changes: 3 additions & 2 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,12 +581,13 @@ fn lint_packages(workspace: &Path, args: LintPackagesArgs) -> Result<()> {
}

Package::EspRustlsProvider => {
if matches!(device.arch(), Arch::RiscV) {
if [Chip::Esp32, Chip::Esp32s3, Chip::Esp32c6].contains(chip) {
let features = format!("--features=esp-hal/{chip}");
lint_package(
&path,
&[
"-Zbuild-std=core,alloc",
"--features=esp-hal/esp32c6",
&features,
&format!("--target={}", chip.target()),
],
)?;
Expand Down

0 comments on commit 5660a6f

Please sign in to comment.