Rust-GPU / Rust-GPU/rust-gpu

[Migrated] Document resolver = "2" effective requirement for rust-gpu

オープン
#90 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Rust
スター
3.4k
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

Issue automatically imported from old repo: https://github.com/EmbarkStudios/rust-gpu/issues/1022
Old labels: t: bug
Originally creatd by Firestar99 on 2023-04-03T10:47:39Z


Add official documentation that one should have

[workspace]
resolver = "2"

in their root cargo.toml to make sure dependencies are resolved correctly and that crates compiled with different features on native and spirv don't get merged into one feature set.

An example can be num-traits which compiles with features default,std on native and libm on spirv target.

For a practical example see the issue below:
https://github.com/EmbarkStudios/rust-gpu/issues/986

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue 986 の実践的な例を読み、その後、プロジェクトのドキュメントとルートの Cargo.toml にあるガイダンスを確認してください。[workspace] resolver = "2" を示し、native と SPIR-V の feature set がマージされるのを防ぐことを説明する公式ガイダンスを追加してください。resolver の要件と num-traits の例がドキュメント化されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
build-system, documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。