Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion esp-bootloader-esp-idf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,9 @@ esp32s3 = ["esp-rom-sys/esp32s3", "esp-metadata-generated/esp32s3", "esp-hal/e

# "md-5" is hidden behind `std` feature and `cargo machete` incorrectly marks it as unused.
[package.metadata.cargo-machete]
ignored = ["md-5"]
ignored = ["md-5", "esp-hal-procmacros"]

[lints.rust]
# Starting with 1.85.0, the test cfg is considered to be a "userspace" config despite being also set by rustc and should be managed by the build system itself.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a bit wordy but probably fine

# CI started to fail with rustc 1.92.0-nightly (f04e3dfc8 2025-10-19), https://github.com/esp-rs/esp-hal/pull/4386#issuecomment-3491320175
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test)'] }
5 changes: 5 additions & 0 deletions esp-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ tui = [
"dep:esp-metadata-generated",
"build",
]

[lints.rust]
# Starting with 1.85.0, the test cfg is considered to be a "userspace" config despite being also set by rustc and should be managed by the build system itself.
# CI started to fail with rustc 1.92.0-nightly (f04e3dfc8 2025-10-19), https://github.com/esp-rs/esp-hal/pull/4386#issuecomment-3491320175
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test)'] }
5 changes: 5 additions & 0 deletions esp-hal-procmacros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ is-ulp-core = []

# Enables `ram(reclaimed)`
__esp_idf_bootloader = []

[lints.rust]
# Starting with 1.85.0, the test cfg is considered to be a "userspace" config despite being also set by rustc and should be managed by the build system itself.
# CI started to fail with rustc 1.92.0-nightly (f04e3dfc8 2025-10-19), https://github.com/esp-rs/esp-hal/pull/4386#issuecomment-3491320175
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test)'] }
8 changes: 4 additions & 4 deletions esp-hal-procmacros/src/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ pub fn check_attr_whitelist(
];

'o: for attr in attrs {
if let Some(attr_name) = get_attr_name(attr) {
if whitelist.contains(&attr_name.as_str()) {
continue 'o;
}
if let Some(attr_name) = get_attr_name(attr)
&& whitelist.contains(&attr_name.as_str())
{
continue 'o;
}

let err_str = match caller {
Expand Down
5 changes: 5 additions & 0 deletions esp-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ esp32s2 = ["esp-hal/esp32s2", "esp-hal/unstable", "esp-rom-sys/esp32s2", "esp-
esp32s3 = ["esp-hal/esp32s3", "esp-hal/unstable", "esp-rom-sys/esp32s3", "esp-sync/esp32s3"]
## Used for testing on a host.
emulation = []

[lints.rust]
# Starting with 1.85.0, the test cfg is considered to be a "userspace" config despite being also set by rustc and should be managed by the build system itself.
# CI started to fail with rustc 1.92.0-nightly (f04e3dfc8 2025-10-19), https://github.com/esp-rs/esp-hal/pull/4386#issuecomment-3491320175
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test)'] }
Loading