-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Conversation
Self::new(&GenesisConfig::default()) | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was a safe move. Bank::default()
seemed to only be used in tests/benches and the derive was making the changes of feature_builtins
to Arc<[(Builtin, Pubkey)]>
a PITA since Entrypoint
has no sane default value.
@@ -54,8 +54,7 @@ _ cargo +"$rust_stable" fmt --all -- --check | |||
# -Z... is needed because of clippy bug: https://github.com/rust-lang/rust-clippy/issues/4612 | |||
# run nightly clippy for `sdk/` as there's a moderate amount of nightly-only code there | |||
_ cargo +"$rust_nightly" clippy \ | |||
-Zunstable-options --workspace --all-targets \ | |||
-- --deny=warnings --allow=clippy::stable_sort_primitive | |||
-Zunstable-options --workspace --all-targets -- --deny=warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and popped --allow=clippy::stable_sort_primitive
out here, since stable enforces it now
@@ -149,10 +149,6 @@ fn main() { | |||
for stream in listener.incoming() { | |||
if stream.is_ok() { | |||
info!("Tuning the system now"); | |||
#[cfg(target_os = "linux")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f4accae
to
99948e9
Compare
Converting this to draft while I figure out which of the clippy "fixes" is blowing the thread stack during tests. Repros on 1.46, so I don't suspect the compiler just yet. |
99948e9
to
7b06cc4
Compare
Haha! Recursive Just blocked on an |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale pull request has been automatically closed. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale pull request has been automatically closed. Thank you for your contributions. |
Problem
We aren't using the latest stable Rust!
Summary of Changes