Rust-GPU / Rust-GPU/rust-gpu

[Migrated] Allow to compile rust-builder as a static c library with the builder calls exported

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.