Skip to content

Conversation

@ratmice
Copy link
Collaborator

@ratmice ratmice commented Oct 22, 2025

I'm still slightly confused about the warnings this fixes,

They don't seem to appear with clippy, or cargo build/test. But do appear when I run .buildbot.sh.
I haven't figured out what the difference between that and the default builds is though.

I'm also not exactly sure what is happening with the #[cfg_attr(test, allow(dead_code))].
This field is used in #[cfg(test)], but I believe that the tests it is used in might be #[cfg(...)] out under wasm
leading to the dead code warning on some platforms.

@ltratt
Copy link
Member

ltratt commented Oct 22, 2025

This might be because .buildbot.sh is running a newer rustc?

@ltratt ltratt added this pull request to the merge queue Oct 22, 2025
@ratmice
Copy link
Collaborator Author

ratmice commented Oct 22, 2025

That seems like a likely possibility as I haven't update my local rust compiler for a bit.

Merged via the queue into softdevteam:master with commit 48290c6 Oct 22, 2025
2 checks passed
@ratmice ratmice deleted the fix_buildbot_warnings branch October 22, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants