Skip to content

enable std::error::Error impl for NxError behind std feature #134

Description

@GianIac

If you'd like to help with Numax, this is a great place to start, thank you so much for taking a look !

Enable std::error::Error implementation for NxError when the std feature is active.

Why

  • nx-sdk already exposes a std feature
  • error interop improves ergonomics in host-side tooling/tests
  • implementation appears prepared but currently commented

Scope

  • update crates/nx-sdk/src/error.rs
  • add conditional impl std::error::Error for NxError under the std feature
  • add/adjust tests or compile checks as needed

Done when

  • nx-sdk builds cleanly with and without std feature
  • NxError integrates with standard error trait under std
  • no behavior changes in no-std mode

Notes

Please keep feature-gating explicit and minimal.

Thanks again for considering contributing to Numax.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions