← Crates

futures

version 0.3.34 · crates.io

197 of 237 tests (83.1%) have the same outcome compiled to JavaScript by Limonite as natively.

pointer-width4 tests

A size test, #[cfg_attr(not(target_pointer_width = "64"), ignore)].

The tests
  • join_size
  • select_on_non_unpin_size
  • select_size
  • try_join_size
threads23 tests

It starts a thread; Limonite doesn't emulate threads, so spawning one fails (Unsupported) as it should on the web.

The tests
  • concurrent
  • or_else_drops_eagerly
  • map_err
  • then_drops_eagerly
  • map_ok
  • and_then_drops_eagerly
  • select4
  • basic_try_future_combinators
  • basic_future_combinators
  • one_thread
  • drop_on_one_task_ok
  • two_threads
  • many_threads
  • oneshot_send1
  • oneshot_drop_tx2
  • oneshot_send3
  • oneshot_drop_tx1
  • oneshot_send2
  • stress
  • lots
  • flatten_unordered
  • clear_in_loop
  • basic
threads9 tests

It runs futures on a thread pool (futures-executor's ThreadPool) and waits with thread::sleep; threads aren't emulated.

The tests
  • join1
  • join3
  • join5
  • select1
  • join2
  • join4
  • select2
  • select3
  • mutex_contested
unwinding4 tests

It catches a panic with catch_unwind, which needs panic=unwind; Limonite builds with panic=abort, so the caught panic stops the test instead.

The tests
  • panic_while_poll
  • panicking_future_dropped
  • panic_in_the_middle_of_the_stream
  • proper_refcount_on_wake_panic

From the run of November 28, 2026. The full report

Limonite: MIT OR Apache-2.0. Part of lazuli-rs.

This site is a Lazuli app, compiled to JavaScript by Limonite.