Skip to content

ts: Fix build failure

Right now gst-plugin-threadshare fails to build with the below error. Fix it.

error[E0658]: `#[track_caller]` on closures is currently unstable
  --> generic/threadshare/src/runtime/executor/context.rs:58:55
   |
58 |           let _ = cur_context.add_sub_task(cur_task_id, async move {
   |  _______________________________________________________^
59 | |             future.await;
60 | |             Ok(())
61 | |         });
   | |_________^
   |
   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `gst-plugin-threadshare` due to previous error
Edited by Sanchayan Maity

Merge request reports

Loading