Skip to content

Module for vendored external Rust dependent code #76012

@d3zd3z

Description

@d3zd3z

Origin

Purpose

These are external modules needed to build the Rust support being integrated by #75904.

Mode of integration

These should be brought in as a module, perhaps rust-vendored. Maybe brought in as modules/lang/rust-vendored.

Maintainership

  • d3zd3z

Pull Request

https://github.com/d3zd3z/zephyr-rust-vendored

Description

When writing Rust applications for Zephyr, the cargo build tool is able to bring external code in to resolve dependencies. Currently, the rust support as proposed in #75904 makes use of a few dependencies at build time. None of these dependencies are linked into the target image. It is likely for there to be a small number of additional modules needed, as the rust support is developed, but this will not grow unbounded. Dependencies added to a given application by the user will be automatically fetched by the cargo tool, and the user can decide for themselves whether or not to use the Rust/Cargo vendoring tools.

As there are a small number of these modules, covered by similar licenses, I have brought them into the same repository.

Dependencies

This code is used by the Zephyr code in lib/rust when Rust support is configured in and used. Having it in this tree prevents the rust build tools from fetching the code at build time.

Revision

2a677e6ab00b12a0d2d8308e04be109ee6868b8d

License

The external modules specify two license variants:

  • MIT or Unlicense
  • MIT or Apache 2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleTSCTopics that need TSC discussion

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions