[Migrated] Allow to compile rust-builder as a static c library with the builder calls exported
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
Issue automatically imported from old repo: https://github.com/EmbarkStudios/rust-gpu/issues/1144
Old labels: t: enhancement
Originally creatd by Makogan on 2024-04-14T21:35:40Z 👍: 2
I would find it useful if rust-builder could be compiled as a static library that could then be invoked from rust, C or C++. This has some possible advantages:
- Allowing a project using a new toolchain to use rust builder
- Allowing non rust projects to use rust shaders
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the rust-builder build configuration and the builder calls that would need to be exported. Determine the static-library and cross-language interface requirements for Rust, C, and C++ callers. Done means rust-builder can be compiled as a static C library and invoked from each stated language.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100