Skip to content

Feature: Support embedded async runtime #131

@taqtiqa-mark

Description

@taqtiqa-mark

This is post issue #113 landing.

Embedded device use cases will likely have trace requirements that Minitrace could support.

One of several steps for this to be realized is to support the embedded async runtime Embassy.

Potentially significant changes to the integration test harness/setup may be required.
Hence, I'm flagging this as something to add only once the macro refactor in #113 has landed.

  • Identify PoC test case: minitrace-tests/src/build/defaults/no-be-no-drop-local.rs. this test case is already broken in the existing implementation, issue Bug: Missing BE silently compile and run. #126. Hence breaking it further by having it be the PoC doesn't add additional noise.
  • Add Qemu to test environment
  • Add async runtime Embassy to [features] for integration tests (minitest-tests crate): This has landed as part of RFC proc-macro structure #113 via PR Proc-macro pipeline (issue #113) #127. This was done to ensure we didn't set up the test configuration in a way that makes adding embassy more difficult than it needs to be.
  • Alter main in integration tests, i.e. now have three cases for execution of async functions.
  • Introduce test pro-macro #[trace_test(...)] or trace_test!(...) to setup testing boiler plate code.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions