Revert "Remove 'static' bound for P::State in Program::run_with"
This reverts commit cab9dec626.
Wasm needs the `'static'` bound since the runtime
will run in a background task.
This commit is contained in:
parent
cab9dec626
commit
eb67aa5d71
3 changed files with 7 additions and 6 deletions
|
|
@ -192,8 +192,7 @@ where
|
|||
/// [`Error`]: crate::Error
|
||||
fn run(settings: Settings<Self::Flags>) -> crate::Result
|
||||
where
|
||||
Self::Message: 'static,
|
||||
Self::Executor: 'static,
|
||||
Self: 'static,
|
||||
{
|
||||
#[allow(clippy::needless_update)]
|
||||
let renderer_settings = crate::renderer::Settings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue