Skip to content

Put attributes required to set up unit tests into #![cfg_attr(test, …)] - #22

Merged
ImplOfAnImpl merged 1 commit into
masterfrom
fix_core_repo_build
Jul 2, 2026
Merged

ImplOfAnImpl merged 1 commit into
masterfrom
fix_core_repo_build

Conversation

@ImplOfAnImpl

Copy link
Copy Markdown
Collaborator

Currently the core won't build if it references the ledger app's master, because the attributes that are needed to set up unit tests in the app's messages crate require nightly Rust.
The solution is to put them under #[cfg_attr(test, ...)]

@ImplOfAnImpl
ImplOfAnImpl requested a review from anyxem July 2, 2026 13:25
@ImplOfAnImpl
ImplOfAnImpl merged commit 44988a5 into master Jul 2, 2026
33 checks passed
@ImplOfAnImpl
ImplOfAnImpl deleted the fix_core_repo_build branch July 2, 2026 13:35
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